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 |
Can we move X(9) to 9(9). If yes what are the ways for doing this?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
I have a field with data type X(10). I want to perform arithmetic operation on this field? I tried doing it by moving the value into a numeric field. but it didn't work out. I am getting a S0C7 abend. Pls let me know if there is any way of getting this done?
wht happens if we dnt give scope terminator ?
I have a sequential file of 100 records. How do I load the records into a two dimensional array ?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
What is ASKTIME, SUSPEND
How many sections are there in data division?.
diffrence between z(2) and z9(2)
How we copy a program from production region to development region.What is the process & syntax ?
how do you reference the variable unblock file formats from cobol programs