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?



we define the array like this 01 array 02 veg occurs 10 times 03 days occurs 6 times ..

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

Post New Answer

More JCL Interview Questions

Explain about CBL/PROCESS statement syntax

1 Answers  


what are the types of abends that occur on job failure? And explain the possible causes of these

0 Answers  


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 ?

7 Answers  


How many types of parameters are used in JCL and what are mandatory parameters of JOB statement.

13 Answers   IBM,


What is the significance of addrspc parameter in exec statement?

0 Answers  






What will happen when we try to pass data from JCL to COBOL using PARM parameter without declaring the length field in Linkage Section?

2 Answers   IBM,


how to run batch program without jcl?

3 Answers   HSBC, IBM,


Name the parameters which can be used to limit the number of records written to a sysout dataset?

0 Answers  


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.

3 Answers   Wipro,


if we compile the cobol+ db2 program now ofter 5 years we need to compile again?

1 Answers   TCS,


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

1 Answers   L&T,


how to eliminate the duplicates in sorting

4 Answers   Fidelity,


Categories