Code how to read 5th element of the array?
Answers were Sorted based on User's Feedback
Answer / ggp
In COBOL we can directly access the particular index of the
array using subscript.
Eg: Arrayname(5)
or
Move 5 to indx
Arrayname(indx).
Is This Answer Correct ? | 22 Yes | 0 No |
How COBOL helps Mainframe to maintain large records ???
What is sort?
Define perform?
How can i change the below code in SQL to cobol/400? EXEC SQL SELECT COUNT(*) INTO : WS-COUNT FROM Db file WHERE Field 1 = : WS-VAR AND Field 2 = : WS-USERID END-EXEC
seqence numbers in cobol
What is the actual use of fillers?
what is the cobol compiler?
How can i change the below code in SQL to cobol/400? EXEC SQL SELECT COUNT(*) INTO : WS-COUNT FROM Db file WHERE Field 1 = : WS-VAR AND Field 2 = : WS-USERID END-EXEC * EVALUATE TRUE WHEN SQLCODE = +000 MOVE WS-COUNT TO Copybook field WHEN SQLCODE = +100 MOVE ZEROES TO Copybook field
How we can update data area in cobol 400 program?
Can we open close file in COBOL any number of times?
What is redefine?
What is output procedure?