Page 1 of 1

What are control cards in JCL

PostPosted: Fri Jan 25, 2008 3:58 pm
by onkarnath
what are control cards?
where and how to use them?
explain me in detail .

Re: What are control cards in JCL

PostPosted: Fri Jan 25, 2008 8:49 pm
by arunprasad.k
onkarnath,

Control Cards are the datasets (can also be an instream data) which has the SYSIN, SYSTIN, etc information.

See a sort step you can find the Control cards. It can also be called as PARMLIBs.

SYSIN DD DSN=CONTROL CARD,DISP=SHR


or

SYSIN DD *
CONTROL STATEMENTS
/* De-limiter


Hope you understood.

Arun.

Re: What are control cards in JCL

PostPosted: Fri Jan 25, 2008 10:00 pm
by Frank Yaeger
Control statements provide information to a program. For example, they might indicate the function a program is to perform as well as various options for performing that function.

Here are some DFSORT control statements in a SYSIN file:

//SYSIN DD *
    OPTION EQUALS
    SORT FIELDS=(5,4,CH,A)
/*


Each program defines the control statements it uses and how they can be input to the program.

If you want more specific information, you'll need to ask a more specific question.