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

What are the parameter we cannot use in procedure?

723


Matching Logic in Jcl not in cobol.Could any one please answer this question

3783


What is the purpose of dd dummy statement?

1044


what is the JCL statement consists of?

792


How would you understand error(execution phase)?

723






how to do automated restart when a job abends?

958


How does jcl specify the job to the operating system?

851


What does a disposition of (new,catlg,keep) for a dsn mean?

702


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

670


by using cond parameter maximum 8 cond can be coded in single cond means ?explain

1087


Explain how can the attributes of one sms dataset be copied to another dataset?

822


I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?

805


what is JCL?

796


What parameter directs the output of the job log dataset?

865


My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.

2091