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 |
There are 2 steps in a JCL. If the first step abends due to system or user abend and the second step has COND specified as EVEN or ONLY, will this step still be executed inspite of the abend in the previous step?
wht is the d/f between positional parameter n keyword parameter ?
is there any utility for restarting a particular step in jcl reply soon ?
how do you resolve for soc7 error
How can I write the joblog in the spool on normal end of a job step and direct the joblog to a dataset only if the step abends?
How many parameters are there to a DISP statement and what are their uses ?
What is the use of ikjeft1b utility in jcl?
What do you do if you do not want to keep all the space allocated to a dataset?
proc1,proc2,up to proc5 is there if i want to call proc1 and proc5how can u write the code
1.How to check for the errors using TYPRUN=SCAN?What will be the output if we give TYPRUN=SCAN?
i just need the first and last record from a sequencial file?how
suppose i have 10 job steps and i want to execute only step 6.How to write?