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


Please Help Members By Posting Answers For Below Questions

is there any way to execute more than one proc in the same exec statement at the same time..?

2100


How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

5054


Explain the function of //cntl statement?

643


In sms datasets, what is the function of the dd mgmtclas keyword?

852


Name a few IBM utility programs, and explain its function.

4424






how would you create a temporary dataset? And where will you use them?

757


List the different jcl statements that are not permitted in the procedures?

631


what is use of disp parameter in dd statement?

651


How can return codes be tested before execution of a job step?

912


Explain the function of //jcllib statement?

693


Explain the purpose of dd * statement in jcl?

629


have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file

914


Brief description of inline procedure of jcl.

672


What are s0c1, s0c4, s0c5, s0c7 and socb?

692


When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

920