I have 2 dimensional array with having 100 elements. So how
to find the 11th item in an array?
Answer Posted / neelam saini
i think above answers r worng.
working-storage section.
01 WS-ARR.
02 WS-A OCCURS 10 TIMES.
03 WS-D OCCURS 10 TIMES PIC XX.
01 I PIC 9(2).
01 J PIC 9(2).
PROCEDURE DIVISION.
MAIN-SECTION.
MAIN-PARA.
PERFORM PARA1 VARYING I FROM 1 BY 1 UNTIL I > 10
AFTER J FROM 1 BY 1 UNTIL J > 10.
DISPLAY WS-D(1,2).
STOP RUN.
PARA1.
ACCEPT WS-D(I , J).
| Is This Answer Correct ? | 12 Yes | 16 No |
Post New Answer View All Answers
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
What is cobol?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
Are you comfortable in cobol or jcl?
What is rmode(any) ?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
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
What is the difference between external and global variables in COBOL?
HOw can I get the negative sign while deduct high value from low value
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
How arrays can be defined in COBOL?
State the various causes of s0c1, s0c5 and s0c7.
How do you reference the fixed block file formats from cobol programs
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?