Arrays in COBOL/400
Answers were Sorted based on User's Feedback
Answer / mvrk
How to load the entire file into an Array in COBOL/400?
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / surya
I believe we dont have verb to load the entire file details in to COBOL400 table. So we go for traditional method: read the records in file one by one and load the records in to table.
First we should the maximum records available in the file, so single dimension table occur value should mention according to that.
Is This Answer Correct ? | 0 Yes | 0 No |
Arrays in COBOL/400
what is redefine and its syntax?
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 INPUT PROCEDURE and OUTPUT PROCEDURE?
Define perform?
define sort? and its syntax?
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
01 A PIC 9. 01 B PIC 99V1. 01 C PIC 99. MOVE 1 TO A. MOVE 0.2 TO B. COMPUTE C ROUNDED TO 3/3 + A.
Explain how to update data area in cobol 400 program?
WHAT ALL THE CONDITIONES REQUIRED FOR USING OPEN OPCODE ON A FILE?
seqence numbers in cobol
When search all is used in cobol program without sorted input data