Why do you use a control card?

Answers were Sorted based on User's Feedback



Why do you use a control card?..

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

Why do you use a control card?..

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

Why do you use a control card?..

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

Post New Answer

More JCL Interview Questions

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?

1 Answers   IBM,


how many max steps can we use in a job? pls answer to my question

9 Answers   TCS,


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.

1 Answers  


When will we need to specify Space parameter ?

3 Answers   Wipro,


What will happen if two JOB statements are mentioned in an JCL continuously.

2 Answers   IBM,






Does jcl support automatic restart?

0 Answers  


Is it possible to left uncode disp? If yes, how?

0 Answers  


What will happen if we write two STOP RUN's in a COBOL program?

4 Answers   Satyam,


Can comments be specified at the very beginning of a jobcard? Will the JCL execute?

3 Answers  


IN-STREAM DATA NOT ALLOWED IN PROC how can come out from this problem

7 Answers  


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?

10 Answers   iGate,


What is the purpose of dd * statement in jcl?

0 Answers  


Categories