consider the following two statements
MOVE 10 TO N
PERFORM PARA-X N TIMES
STOP RUN
PARA-X
MOVE 5 TO N
how many times PARA-X willbe exicuted?
a.10
b.5
c.infinate
d.execution error
Answer Posted / rams
I tried this code. It executed 11 times...
Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
how to refer the data field?
what is search and searchall?what is the diffrence between them?give an best example?
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.
What is Pic 9v99 Indicates in COBOL?
What is the difference between external and global variables in COBOL?
Why occurs cannot be used in 01 level in COBOL?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
IF I mention stop run in CICS what happens?
What rules are followed by the search verb.
how do you reference the fixed unblock file formats from cobol programs
What is report-item in COBOL?
how do you reference the printer file formats from cobol programs
What is the difference between perform … with test after and perform … with test before?
What is comp-1 and comp-2?