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 |
wht is sysudump n sysout,sysprint ?
//{name} INCLUDE MEMBER=memname {comments} in the include statement, what actually happens when its executed? The membername conatains a list of valid JCL statements, so will the include statement be substituted by these statements and how can we mention the pds that conatains the member? How does the include group differ from a PROC? how is include statement connected to JOBLIB and STEPLIB?
whats the diff bw the evaluate also and and?
how to code instream data in procedure?
What are the common jcl syntax errors you get? This is not abends?
How does -818 sql error occur? Why does it happen and what can be done to overcome this error code?
As PARM can supply information to a program ? Can PARM be used to supply information to a cataloged or Inline Procedure also ?
what is the general use of PARM? Give an explanation about the system defined parameters that could be passed through this PARM like XREF,LIST,LET,APOST,RENT etc..
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
wht happens if blksize = 0 and lrec = 0 ?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
how many max steps can we use in a job? pls answer to my question