How do you pass parameters to the program as the job is
being executed ?
Answers were Sorted based on User's Feedback
Answer / guest
By using 'parm' parameter in exec statement. the value
mentioned here should be declared in linkage section in the
program and process thru procedure division. this technique
is very useful when you do not know the parameters at the
time of coding the programs.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / lakshmisudha
using PARM parameter we can pass the data from one step to
another step
using REFER BACK PARAMETER we can pass dd statments dsn, dcb
from one step to another step or with in step also
Is This Answer Correct ? | 0 Yes | 1 No |
Can we find specific member without knowing the name of PDS or can we search a member to which PDS it belongs to? if so how?
can we give instream data in procedure
A maximum of 100 chars can be passed to Cobol through Parm in JCL, If we want to pass more than 100 Chars how we can do it ?
how to allocate a dynamic dataset in jcl ?
What is the difference between specifying DISP=OLD and DISP=SHR for a dataset?
Explain about User Information
can we bowse or edit the GDG dataset if it is a tape entry?
A STEP has more than 1 file as INPUT. And we have to put all these records int 1 output file. How to do ? //InputF DD DSN=ID.File1 DSN=ID.File2 DSN=ID.File3
hi in one of the interview one asked me how to submit a job from cobol?as well as how to submit a jcl from CICS? can u pls any one tell me..
How to print the Output to SPOOL using MSGCLASS and SYSOUT ?
how to split a file
which utility is used to run a cobol-db2 program?