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 |
i have a jcl in which 4 & 5 step creates a new generation. 4th step output is as input for the 6th step & 5th step output is used as input in the 7th step. How they are refered as in the 6th & 7th steps? If the job abends in 6th step then how the 5th step output is refered in 7th step?
how many max steps can we use in a job? pls answer to my question
Is it possiable to use a gdg in the INCLUDE statement in a SORT jcl? I am using this because I want to change the condition with out changing the jcl. Please provide with a sample code.
When will we need to specify Space parameter ?
What will happen if two JOB statements are mentioned in an JCL continuously.
Does jcl support automatic restart?
Is it possible to left uncode disp? If yes, how?
What will happen if we write two STOP RUN's in a COBOL program?
Can comments be specified at the very beginning of a jobcard? Will the JCL execute?
IN-STREAM DATA NOT ALLOWED IN PROC how can come out from this problem
I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it possible to control through JOB card?
What is the purpose of dd * statement in jcl?