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
what are decleratives in cobol?
) How do u handle errors in BMS macro
Define static linking and dynamic linking.
Explain the configuration section of a cobol program with examples of syntax.
Explain how you can characterize tables in cobol?
Write a program that uses move corresponding.
How do you define a variable of comp-1 and comp-2?
How do you get the data to code the BMS macro?
Explain what you understand by passing by value.
how do you reference the ksds vsam file formats from cobol programs
What is the difference between external and global variables in COBOL?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What is length is cobol?
What is the difference between Call and a Link?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..