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 |
I like to know if possible to use %TRIM or any statement with prefiv "%" like RPG ile programs. thanks
what is PERFORM? and its types?
i have two programs 1.cobol program 2.copy book program can i move bouth program in to the production or single single program?
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
What is output procedure?
define sort? and its syntax?
Define perform? And its types?
What is the actual use of fillers?
Define redefine?
It's possible use %TRIM statement like rpgile?
what is redefine and its syntax?
What is comp?