How array can be declare in cobol?
Submitted by: AdministratorArray can be declared in cobol using the OCCURS clause.
Syntax is,
For one dimensional array,
01 Arrays.
05 Var1 PIC X(10) Occurs 10 times.
For two dimensional array,
01 Arrays.
03 AAA Occurs 10 times
05 BBB Occurs 10 times
07 Value PIC 9(3).
Submitted by: Administrator
Syntax is,
For one dimensional array,
01 Arrays.
05 Var1 PIC X(10) Occurs 10 times.
For two dimensional array,
01 Arrays.
03 AAA Occurs 10 times
05 BBB Occurs 10 times
07 Value PIC 9(3).
Submitted by: Administrator
Read Online IBM COBOL400 Job Interview Questions And Answers
Top IBM COBOL400 Questions
☺ | How to update data area in cobol 400 program? |
☺ | How to detect record is locked in Cobol/400? |
☺ | How array can be declare in cobol? |
☺ | How can i change the below code in SQL to cobol/400? |
☺ | What is redefine and its syntax? |
Top Mainframe Technical Categories
☺ | IBM MainFrame Interview Questions. |
☺ | IBM AS400 Interview Questions. |
☺ | JCL Interview Questions. |
☺ | IMS DB Interview Questions. |
☺ | CICS Interview Questions. |