View previous topic :: View next topic
|
Author |
Message |
nandinihb
New User
Joined: 10 Dec 2005 Posts: 11 Location: b'lore
|
|
|
|
hi,
what are control cards and why there are used?
thanks |
|
Back to top |
|
|
papun123123
New User
Joined: 27 Mar 2006 Posts: 2
|
|
|
|
Hi nandinihb,
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. |
|
Back to top |
|
|
jasorn Warnings : 1 Active User
Joined: 12 Jul 2006 Posts: 191 Location: USA
|
|
|
|
papun123123 wrote: |
Hi nandinihb,
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. |
I've worked in some shops that use 'control deck' if there is more than 1 line and card when there is only one.
Also, in my experience, the control statements in instream jobs are also called control cards.
And there are also good reasons to use a control card member even if the job is instream vs a proc. |
|
Back to top |
|
|
jasorn Warnings : 1 Active User
Joined: 12 Jul 2006 Posts: 191 Location: USA
|
|
|
|
nandinihb wrote: |
hi,
what are control cards and why there are used?
thanks |
Oops! We didn't give the simple answer. Control Card is a term from the old days when each line was an actual paper card and a program or job was a deck made up of these cards. A Control Card then was such a card that contained control instructions for a given utility. Of course now most(all?) the actual paper cards are gone but the terminology remains. And it's common practice to call a set of cards that do a particular thing as a 'Control Card' and not a 'Control Deck'.
Actually, I bet there are shops that still use them. |
|
Back to top |
|
|
parikshit123
Active User
Joined: 01 Jul 2005 Posts: 269 Location: India
|
|
|
|
Hi,
I think on most of the shops usage of "Card" is decommissioned.
But, still the utility programs or even user programs take some control information as input. These control data is passed through PS files or member of a PDS. |
|
Back to top |
|
|
|