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 |
i have two programs 1.cobol program 2.copy book program can i move bouth program in to the production or single single program?
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.
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 are the types of perform?
How to detect record is locked in cobol/400? What is the solution for that?
Trying to help a friend... How do you code screen I/O without a DDS? I know it can be done, because for a short time, I worked for a company that did it. It was just too long ago for me to remember what was involved.
seqence numbers in cobol
WHAT ALL THE CONDITIONES REQUIRED FOR USING OPEN OPCODE ON A FILE?
what is the difference between section,paragraph and sentences
Define redefine?
How we can update data area in cobol 400 program?
What is the syntax of redefine?