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 / 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 |
Explain about CBL/PROCESS statement syntax
what are the types of abends that occur on job failure? And explain the possible causes of these
In Job, there are 10 steps. If I want to execute the first 6 steps and don't want to execute from 7th to 10th step. What is the solution for this ?
How many types of parameters are used in JCL and what are mandatory parameters of JOB statement.
What is the significance of addrspc parameter in exec statement?
What will happen when we try to pass data from JCL to COBOL using PARM parameter without declaring the length field in Linkage Section?
how to run batch program without jcl?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
I have GDG defined e.g. GDG.smaplegdg.base, after processing the GDG. it contains some records and which is input to the second step2. How can I use GDG to use it as input file at step2.
if we compile the cobol+ db2 program now ofter 5 years we need to compile again?
i have a jcl containing header body and trailer .in header i have viswa body 2 6 1 9 7 trailer reddy .now i need to sort only body in either asecending or descending order how can i do it
how to eliminate the duplicates in sorting