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
What are the parameter we cannot use in procedure?
Matching Logic in Jcl not in cobol.Could any one please answer this question
What is the purpose of dd dummy statement?
what is the JCL statement consists of?
How would you understand error(execution phase)?
how to do automated restart when a job abends?
How does jcl specify the job to the operating system?
What does a disposition of (new,catlg,keep) for a dsn mean?
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
Explain how can the attributes of one sms dataset be copied to another dataset?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
what is JCL?
What parameter directs the output of the job log dataset?
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.