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
What parameters can be used to limit the number of records written to a sysout dataset?
what is DSN in JCL and what are the parameters to declare the DSN?
what is the compile process of cobol program expalin with code
What are the utility programs in jcl?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
Where can program checkpoints be stored for use in a restart?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
How does jcl act on a cobol code?
What is the purpose of dd * statement in jcl?
What is the function of the dd mgmtclas keyword in sms datasets?
How can the disposition of sysout datasets be set for an entire jobstream?
What are steplib and joblib? What for they are used?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
Name the parameters which can be used to limit the number of records written to a sysout dataset?