77 I pic 99 value 5
Perorm para-A I times.
Para -A.
move 10 to I.
How many times the para-A will be executed.?
Answer Posted / prachi
when it will execute perform statement for the first time,
the value in i is 5..Then it is moving 10 to i ..So when it
will execute the perform 2nd time...that time the value of
i is 10..so Para-A will be performed 11 times...
Please let me know my ans is correct or not...
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
IF I mention stop run in CICS what happens?
what is search and searchall?what is the diffrence between them?give an best example?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
How do you reference the following file formats from cobol programs?
How you can characterize tables in cobol?
What is the difference between structured cobol programming and object alternativelyiented cobol?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
Write the code implementing the perform … varying.
how can i see junk values in dclgen or in hostvariable of comp ?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
) what is the difference between AID and HANDLE AID?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
i need a small 3d program using inline and outline.