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 |
Hai friends why we need to read a file before re-write a record?
Please let me know at which Scenarios we will go for STATIC call or DYNAMIC
Explain call by context by comparing it to other calls.
Can we redefine the field of x(200) to less than 200?
What is the use of LINKAGE SECTION?
01 a pic s9(5) occupies how many bytes ?
I HAVE FOLLOWING DECLARATION. 02. A PIC X(10) VALUE 'XXXXXXXXXX'. 02. B REDEFINES A. 05. C PIC X(3). 05. D PIC X(3). 05. E PIC 9(3). IN MY PROG, I HAVE MOVE 1 TO E. DISPLAY A. WHAT WILL BE DISPLAYED AS A RESULT OF THIS? PLEASE EXPLAIN THE ANSWER. THANKS.
Which is the best IBM mainframe Training Institute in Ameerpet, Hyderabad
WHY LRECL NEEDS TO BE 4 EXTRA THEN THE COBOL FILE LENGTH & WHAT IT CONTAIN IN THAT LENGTH
I encountered an error when I move spaces to a numeric field?What should I do to move spaces on that field?help please.
how can we fetch 3 records in cobol pgm any coding pls ?
what is the difference between Normal vaiable and comp variable.