how can we code index in an array of cobol pgm?
Answer / jenny
It can be done in two ways:
1.Using the INDEXED BY phrase on the OCCURS clause.
2.index can be defined(as a working storage variable) with
USAGE IS INDEX clause.
In either case the index is set, icreased or decreased
using the SET verb in the Procedure Division.
Is This Answer Correct ? | 15 Yes | 2 No |
How To move a value to an array using move verb?
I have the requirement to compare the two files and pick up the matching records. File 1. file2 23 32 32 13 34 15 35 36 36 35 43 Get the matching records from this 2 files to out file. how you will do this in cobol program?
15 Answers ADP, Broadridge, CTS, HSBC, L&T, RBS, TCS,
COMP-3 field occupy ?
hi is there any means of deletin a record from a ps usin cobol not using jcl?eg if i am reading a record and if some condition is matched tat particular record must be deletd fom the ps
What is the file organization clause ?
What is CALL statement in COBOL?
In the JCL, how do you define the files referred to in a subroutine ?
What is a scope terminator give example?
What is the default value of DISP parameter?
What is report-item?
what is the basic concept of mainframe? what knowledge is needed for learn this mainframe?
how to convert vsam table into DB2 table?