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 |
Explain the types of perform?
What is sort? And its syntax?
what is the difference between comp & comp-3?
What is redefine?
Explain how to detect record is locked in cobol/400? What is the solution for that?
What is perform?
what is the difference between section,paragraph and sentences
write a cobol program to display prime numbers between 1 to 100?
How to detect record is locked in cobol/400? What is the solution for that?
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 to detect record is locked in cobol/400?
What are the types of perform?