we define the array like this
01 array
02 veg occurs 10 times
03 days occurs 6 times
04 cost pic 9(5).
but why don't we write it as
01 array
02 veg occurs 10 times
03 days occurs 6 time
04 cost pic 9(5).
is there any error will occur ,what is it? and why don't
01,02,03 not contain picture clause? if we put pic in those
is there any error will occur what is it will occur?
Answer Posted / rajvee
If you want to put 02,03,04 in one column no error will
occur, its only a common coding standard to be followed.
group item don't carry pic clause only elementary items
will.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
How is a type of file defined in the jcl that executes the cobol program?
When output dataset space is required, what quantity categories are used?
What is the purpose of disp parameter?
what happens in conversion stage in job processing?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
What is the function of dd disp parameter?
What is the syntax of JCL statement?
what happens in execution stage in job processing?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
What is the function of job statement in jcl?
Explain the job statement in jcl?
Explain the purpose of dd * statement in jcl?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
How to alter the parameters for the existing gdg?
Is there any command to check wether the ps file is in sorted order?