If i initialize the 01 level variable in array, will it
initialize all the array elements (occurs)?
Answer Posted / snehatechm
occurs clause of an array cant be coded in 01 level.
it should always be coded in work area 2
01 xxx-yyy.
03 XX-YYY-ARRAY OCCURS 10 TIMES.
05 XX-YYY-MEM1 COMP-3 PIC S9(9).
05 XX-YYY-MEM2 COMP-3 PIC S9(9)V9.
Is This Answer Correct ? | 16 Yes | 1 No |
Post New Answer View All Answers
i want a program using by if, evaluate , string, unstring, perform, occurs?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
Can we change the password using ALTER? anyone tried and changed?
In COBOL, what is the different between index and subscript?
What is cobol?
) How do u handle errors in BMS macro
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What is redefines clause in COBOL?
how do you reference the ksds vsam file formats from cobol programs
What is the difference between a binary search and a sequential search what are the pertinent cobol?
How many bytes S(8) comp field occupy and its maximum value?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
What are the cobol coding sheets?
how do you reference the printer file formats from cobol programs