how will u find out 3rd week's 2nd day using occurs ?
Answer Posted / 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 |
Post New Answer View All Answers
When is inspect verb is used in cobol?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
HOw can I get the negative sign while deduct high value from low value
What is the difference between goback, stop run and exit program in cobol?
What is the problem of ordered sequential files access?
What are the different types of condition in cobol and write their forms.
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
What are the different rules to perform a Search?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
What is the difference between Call and a Link?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
Write a program that uses move corresponding.
Give some examples of command terminators?
What is a SSRANGE and NOSSRANGE?