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 / vineet pasricha
It will execute 10 times
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
how to move the records from file to array table. give with code example
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
When is inspect verb is used in cobol?
For rewrite, why is it mandatory that file needs to be opened?
What is the difference between structured cobol programming and object alternativelyiented cobol?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
Which mode is used to operate the sequential file?
What are the different rules of SORT operation?
Differentiate between structured cobol programming and object-oriented cobol programming.
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
What is the difference between goback, stop run and exit program in cobol?
what is the use of outrecord?
What is rmode(24)
What are the different open modes available in cobol?