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 / guest
10
| Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
Write a program to explain size error.
I have a File that has duplicate records. I need only those records that occur more than thrice.?
Explain the configuration section of a cobol program with examples of syntax.
HOw can I get the negative sign while deduct high value from low value
What are literals?
How arrays can be defined in COBOL?
State the various causes of s0c1, s0c5 and s0c7.
What are the different rules to perform a Search?
When is inspect verb is used in cobol?
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.
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.
how do you reference the variable block file formats from cobol programs
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
What is the Purpose of POINTER Phrase in STRING command in COBOL?