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

describe the exec statement,its meaning ,syntax and keywords?

3 Answers  


how can i code cond parameter in procedures ? i have a jclk calling a proc which has 10 steps i want to execute from step 5 to step 10 where can i code restrat parameter or cond parameter for ths

4 Answers   IBM,


What is COND=ONLY ?

2 Answers  


Can you code instream data in a PROC ?

10 Answers  


how to resolve sb37,sd37 se37 abends

3 Answers   Keane India Ltd,






common jcl abends??

2 Answers   ADP, Wipro,


What is difference between Return Code, user completion code, Abend code and reason Code?

2 Answers   IBM, Satyam, Wipro,


how do u define a file in cobol and jcl ?

2 Answers   TCS,


how do you code a null statement?

0 Answers   IBM,


what is the default region size if I dont specify region parametre in my job card ( I know that if I specify region=0k or 0M, then the job will occupy all he available resources at the time of job execution), but I want to know the defult value for "region" paramatre.

5 Answers   BirlaSoft, Infosys,


Explain dd statement in jcl?

0 Answers  


which utility is used a dummy utility?

0 Answers   IBM,


Categories