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 / 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 |
How to submit jcl through a cobol program?
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
What is the purpose of the PARM keyword in the EXEC statement?
I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it possible to control through JOB card?
how would you create a temporary dataset? And where will you use them?
there are 10 steps in jcl how to execute the steps from step2 to step8 only
mainframe questions like basic&depth
What does a disposition of (NEW,CATLG,DELETE) mean?
Please go thru the below points and let me know how to code this. 1. Sort the input dataset for the condition : Starting position is 37,length of the field is 13 based on character and in the ascending order , starting from position 25 length of 12 ,character and in the ascending order. Use a temporary dataset to hold the sorted file. 2. Use the temporary file created in the above step as the input for the next step. The next step is to execute a program and produce an output file. Use the temporary file created in the above as work file 1 and the output of the file to be created in this step work file 2.Also, pass a parameter to the program that is to be executed in this step. The parameter should have the current date in YYYYMMDD format. For the sake of convenience, you can use the below Job Name : Sample1 Input DSN : PCABDT11.CABD.TEST.INPUT Temporary DSN : Sort1 Output DSN : PCABDT11.CABD.TEST.OUTPUT Program Name : SAMPLE Thanks in Advance for your response.
i have a ps with two columns eno and ename , i need to copy eno column values in one ps and ename column values in one Ps ? is it possible through iebgener . how ? thx in advance
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
what is the job entry system used in your project?