Arrays in COBOL/400

Answers were Sorted based on User's Feedback



Arrays in COBOL/400..

Answer / mvrk

How to load the entire file into an Array in COBOL/400?

Is This Answer Correct ?    0 Yes 0 No

Arrays in COBOL/400..

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

Post New Answer

More COBOL400 Interview Questions

Arrays in COBOL/400

2 Answers   Polaris,


what is redefine and its syntax?

6 Answers   HCL,


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

2 Answers  


what is INPUT PROCEDURE and OUTPUT PROCEDURE?

2 Answers  


Define perform?

0 Answers  


define sort? and its syntax?

3 Answers  


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

2 Answers   HP,


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.

2 Answers  


Explain how to update data area in cobol 400 program?

0 Answers  


WHAT ALL THE CONDITIONES REQUIRED FOR USING OPEN OPCODE ON A FILE?

2 Answers  


seqence numbers in cobol

0 Answers   TCS,


When search all is used in cobol program without sorted input data

3 Answers  


Categories