In COBOL "BEFORE" advancing is there or not ?
Answers were Sorted based on User's Feedback
Answer / nag(igate)
Yes, Before advancing clause is there. but it is default in
perform statement.
ex:
Perform para1 varying I from 1 by 1 until I > 10 { test
before or after}
1. if we code before: the condition will check first then
loop will execute. it is default.
2. if we code after: the loop will execute first then
condition will check.
pls correct me, if i am wrong..............
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / raja
After clause is default, but before clause also there.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ravi
Before advancing is not there.
only after advanving is allowed
| Is This Answer Correct ? | 0 Yes | 2 No |
What is the purpose of Identification Division?
What is the default value of DISP for temp datasets
is it mandatory to give data division before procedure division ? wht happens if i give procedure division first thn data division ? reply soon
What is SDSF?
What are the situations u have used in ur project for Subcript and Index ? 1.if u use Subscript why not Index,why u choose Subscript only? 2.if u use Index why not Subscript,what abt Displacement?
01 WS-NAME PIC X(10) OCCURES 2. by this we can get ws-name 2 times. My qustion is how can we access the second name
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
What is an in line perform? When would you use it? Anything else you wish to say about it.
How to use the same cobol program in Batch and CICS onlines ? Please expalin with an example. Thanks in advance.
Hi All, Can anyone tell me how we can MOVE value of a X(19) variable to a S9(17) COMP-3 variable? Answer with an Example will be of great help.
How to read the last 100 records from a COBOL file. The file contains N number of records.
what is the meaning of pic 9(09)v99-