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 |
which utility is used to run a cobol-db2 program?
what is the difference between JES3 and JES2?
which statement is used to end the in-stream procedure in a jcl?
how to split a file
how do u send return code from cobol to jcl ?
Is acct parameter mandatory?
What is the difference between IEBGENER, IEBCOPY and REPRO in IDCAMS utility?
Given a input file with duplicates how to remove the duplicate records from the file using JCL?
6 Answers CDS, Convergys, TCS,
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
How can we execute only one step in a job
22 Answers MAHINDRA, Mind Tree, Tech Mahindra,
I have a File that has duplicate records. I need only those records that occur more than thrice.
how to eliminate the duplicates in sorting