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
How to print 10 to 1 if the input have only 10 digit number?
How do you get the data to code the BMS macro?
What is the difference between Call and a Link?
how do you reference the fixed unblock file formats from cobol programs
What is the difference between PIC 9.99 and 9v99 in COBOL?
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?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
What are the different open modes available in cobol?
What is the difference between perform … with test after and perform … with test before?
What is a SSRANGE and NOSSRANGE?
how to access the file from prodution from changeman tool and to submit a file to production
) how do u code after getting data?
Which mode is used to operate the sequential file?
What is the local-storage section?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?