In how ways you can pass the data from Jcl to cobol ?
Answers were Sorted based on User's Feedback
Answer / g.naveen
Mainly in 3 ways we can pass the data from Jcl to Cobol by
using Parm parameter,by using files and sysin dd *.
Is This Answer Correct ? | 33 Yes | 0 No |
Answer / rknaidu
Four ways.
there are,
1. sysin card.
2. via parm parameter.
3. files.
4. control cards.
Is This Answer Correct ? | 11 Yes | 0 No |
Answer / vinay sonar
You can pass data from JCL to COBOL using parm
parameters,sysin dd* and using ACCEPT statment
Is This Answer Correct ? | 2 Yes | 1 No |
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.
Explain about LMMLIST�list a library's members
Can anyone tell me the syntax for printing two files at two different destinations in a single step?
What is job control language?
Is it possible to left uncode disp? If yes, how?
I have four steps in jcl they are STEP1,STEP2,STEP3 and STEP4. Can it possible to run the reverse order like step4 first then step3,step2,step1?
can we bowse or edit the GDG dataset if it is a tape entry?
i have a jcl in which 4 & 5 step creates a new generation. 4th step output is as input for the 6th step & 5th step output is used as input in the 7th step. How they are refered as in the 6th & 7th steps? If the job abends in 6th step then how the 5th step output is refered in 7th step?
how do u see jobs submitted before ur job ?
Where can program checkpoints be stored for use in a restart?
What is the motivation behind coding class parameter in job statement?
Differentiate between addressing mode and run mode.