perform I from 0 by 1 until I=5?How maney times it will
executes
Answer Posted / tiny,roshini,divya
Syntax error in inline perform.
PERFORM varying i from 0 by 1 until i = 5
.............
.............
END-PERFORM.
There is no 'varying ' with perform in the question.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
How arrays can be defined in COBOL?
What are the cobol coding sheets?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
how do you reference the ksds vsam file formats from cobol programs
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 LINKAGE SECTION used in COBOL?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
Write the code implementing the perform … varying.
Explain how you can characterize tables in cobol?
how to move the records from file to array table. give with code example
Which is not true about evaluate statement
what are decleratives in cobol?
What are different data types in cobol?
How do you reference the following file formats from cobol programs?