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 |
Suppose i have 2 steps in my pgm. Step1- creates a file, Step2 - generates report from file in step1, What changes have to be made in Step2, so that if the file in Step1 is empty Step2 should not be executed? No changes to be made to Step1.
Matching Logic in Jcl not in cobol.Could any one please answer this question
Where & How Do You Code Identifier In Jcl?
hi iam learning mainframes,can anybody tell me how to check JCL errors.(after submiting the JCL we have check in spool or is there any other method)
What is the difference between run mode and addressing mode?
I have a PDS and want to omit few rows of all members of a PDS. How to do it?
What is the max blocksize for a Tape file?
Explain about LMMFIND - find a library member
how to allocate a dynamic dataset in jcl ?
What is maximum length of block size?
5 Answers Cap Gemini, Kanbay, TCS,
If a job has 3 steps and step 1 and step 3 should get executed and step 2 should not get executed irrespective of the return code from the previous steps. How can it be done?
ihave ten flatfile in that iwant to concatinate all the files except file 5,6 into output file by uing jcl? how to do this? give me detail yntax for tis?