How many times the loop runs here
01 a pic 9(2) value 1.
perform para1 until a=10
move 1 to a.
stop run.
para1:
move 10 to a.
Answer Posted / harish
It depends on two coditions with PERFORM WITH TEST BEFORE/AFTER.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do get the result of your program directly on your pc?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
How can you get the ksds file records into your cobol program?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
Write a cobol program making use of the redefine clause.
What is the Purpose of Pointer in the string?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
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
What do you understand by psb and acb?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
Why occurs cannot be used in 01 level in COBOL?
What are declaratives and what are their uses in cobol?
Difference between cobol and cobol-ii?
What is the usage of comp fields in cobol?
What rules are to be followed while using the corresponding options?