how will u find out 3rd week's 2nd day using occurs ?
Answers were Sorted based on User's Feedback
Answer / shweta
01 WS-TEMP VALUE ZEROS.
03 WS-WEEK OCCURS 5 TIMES
05 WS-DAY PIC 9 OCCURS 7 TIMES
THE THIRD WEEK AND 2ND DAY CAN BE FOUND BY WS-TEMP(3,2)
Is This Answer Correct ? | 3 Yes | 9 No |
Read a flat file and write last but one (I have n records in a file I have to write n-1th) record in another flat file. Could you please provide me the code in COBOL?
if we have a 10 steps how to override the 4th step in jcl?
how to display comp3 variables reply soon ?
is it possible to rename 01 level?
How to delete a front spaces in a data-name/variable in cobol Example:- 01 data-name-1 PIC x(20) value " cobol language". 01 data-name-2 PIC x(20). MOVE data-name-1 to data-name-2. would like the value of data-name-2 is "cobol language".
i want a program using by if, evaluate , string, unstring, perform, occurs?
SIGN TRAILING SEPARATE field occupy ?
how many maximum no of variables can be declared in linkage section ?
Can we put move statement in COBOL copybook
What compiler option would you use for dynamic linking?
Hi, My interviewer ask A calls B and C calls B, a and b are static c and b are dynamic.what happens if they compile and execute at same time.
what happens if we wont give timestamp in precompilation process ?