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 with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it possible to control through JOB card?

5 Answers   iGate,


what is force complete

2 Answers   IBM,


1) max no of steps with jcl job can execute 2) how many extentions r possible in sequencial files with job 3) what is set parameter will do 4)how to get syntax errors without sub 5) what is differ between error and abend 6) hw mvs knows who submitted the job and whoom it has to forward 7) what are the positinal parameters of data descripter

1 Answers   L&T,


HOW TO CONVERT VARIABLE BLOCK TO FIXED BLOCK ?

1 Answers   IBM,


THERE IS ONE STEP AS BELOW: //STEPJS060 EXEC PGM=XYX, COND=((200,EQ,JS010),(0,NE,JS020.C),EVEN) COULD ANY ONE EXPLAIN HOW COND PARAMETER WORKS HERE? I AM CONFUSED BECOZ OF "EVEN".

2 Answers  






If I defined space as TRK(10,10) for the one file and lrecl = 4K then tell me how many record will vsam file will contain. will it 1,2,3,4,5 or how many,

3 Answers   IBM,


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?

2 Answers  


Explain the function of //jcllib statement?

0 Answers  


wht happens if cond=true ? pls give me with an example ?

2 Answers   Syntel,


db2 maintains information about the data... a.in tables. b.in a set of tables known as db2 catalog. c.in db2 database. d.none of the above. 1 What is the maximum number of tables that can be stored on a Partitioned Table Space ? 1 what is contained in the DB2 node lock file? A) data base names B) data base users names C) license keys D) server names Accenture 5 Can a primary key have null values? If we try to insert a null value in a primary key column, will it work or give an error code? 6 When you are working with the project after coding what will u do? Like what type of documents u will prepare? How will u do testing? 2 how to delete perticular row from table for ex. how you will delete 3rd row from table please answer THANKS IN ADVANCE IBM 7 max number of columns in a db2 table? 6 What is package versioning? Please give an example. 1 What is the picture clause of the null indicator variable? 6 How do you filter out the rows retrieved from a Db2 table ? 1 What is DB2 (IBM Database 2)? 3 Can any one tell me about Restart logic in DB2.

2 Answers   Cap Gemini,


restart logic ?

2 Answers   TCS,


I have a dataset with record length 40 in production, due to some requirements it was changed to 80. Then how can we know the jobs which are effected by this change and how can we resolve it.

3 Answers   iGate,


Categories