Why do you use a control card?
Answers were Sorted based on User's Feedback
Answer / guest
A control card can be a member of a pds or a sequential
dataset and is used for storing the date fields, Definitions
of VSAM files....etc. You use control card because you
cannot use a instream procedure in a procedure. Generally
you will be calling a Proc from your Jcl and you cannot code
instream procedure in the Proc and so you will point to the
dataset which is called control card.
| Is This Answer Correct ? | 35 Yes | 5 No |
Answer / krishna
Control card used for passing /* ,// as input via inputstream.
if we code //sysin dd * ,we could n't pass /* and // as
input.but if we code //sysin dd data, dlm='xx' ,we can able
to pass..
| Is This Answer Correct ? | 12 Yes | 5 No |
Answer / susmita
CONTROL CARDS are something that comes into play, where you
can't use sysin dd statement.. for example we can't use
sysin dd * in cataloged procedure. in this case you can
have your instream data under a pds-member and make the
sysin as
//sysin dd dsn=xyz.abc.pos(mem),disp=shr
| Is This Answer Correct ? | 7 Yes | 0 No |
How to print the Output to SPOOL using MSGCLASS and SYSOUT ?
Explain about LMGET�read a logical record from a data set
In jcl i have 255 steps. In 255 step i declared proc. In proc i have 20 steps this job is executable or not? why?
How to send different PARM values based on the any condition to the program in a JCL? For example :- If the time is before 12:00 pm, I want to send "A" to some program and if it past 12:00 pm , I want to send "B" as a PARM value to that program. How to do it thur JCL only?
can anyone explain me about sort in jcl with inrec and outrec ?
Why we will create load module in PDS only, Why nt in PS?
Explain about Specifying compiler options in the PROCESS (CBL) statement
how do u send return code from cobol to jcl ?
what will be the error code if duplicate key of VSAM file is found?
how do you access an uncataloged dataset in a jcl?
what is the alternative to model parameter?
which parameter is used to check the syntax of a jcl without executing it?