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 |
How to copy one PS file to multiple PS files with same data?
how to compress the data set
What is condition checking in jcl? Is this possible?
Explain the function of a dd statement?
How to pass the temp dataset form one JOB step to another?
How to send different PARM values based on the any condition to the program in a JCL? For example :- If the time is before 12:00 pm, I want to send "A" to some program and if it past 12:00 pm , I want to send "B" as a PARM value to that program. How to do it thur JCL only?
How are GDGs concatenated?
Why we us SYSTSIN DD with IKJEFT01 (TSO Utility) to execute a COBOL DB2 program? Why can't we use SYSIN DD?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
In a single step if input file is present then only need to copy into output file or else need to through a RC is it possible. Note : i want it in a single step
what is a jcl?
How to find in aparticular step how many versions a paricular gdg base have?