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


Please Help Members By Posting Answers For Below Questions

how to refer the data field?

1812


what is search and searchall?what is the diffrence between them?give an best example?

5565


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.

5065


What is Pic 9v99 Indicates in COBOL?

731


What is the difference between external and global variables in COBOL?

816






Why occurs cannot be used in 01 level in COBOL?

721


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.

1121


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

680


IF I mention stop run in CICS what happens?

1898


What rules are followed by the search verb.

638


how do you reference the fixed unblock file formats from cobol programs

712


What is report-item in COBOL?

713


how do you reference the printer file formats from cobol programs

669


What is the difference between perform … with test after and perform … with test before?

885


What is comp-1 and comp-2?

766