IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

What are control cards and why there are used


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nandinihb

New User


Joined: 10 Dec 2005
Posts: 11
Location: b'lore

PostPosted: Wed Mar 29, 2006 10:17 am
Reply with quote

hi,
what are control cards and why there are used?


thanks
Back to top
View user's profile Send private message
papun123123

New User


Joined: 27 Mar 2006
Posts: 2

PostPosted: Wed Mar 29, 2006 10:30 am
Reply with quote

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. icon_biggrin.gif
Back to top
View user's profile Send private message
jasorn
Warnings : 1

Active User


Joined: 12 Jul 2006
Posts: 191
Location: USA

PostPosted: Wed Jul 12, 2006 5:51 pm
Reply with quote

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. icon_biggrin.gif


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
View user's profile Send private message
jasorn
Warnings : 1

Active User


Joined: 12 Jul 2006
Posts: 191
Location: USA

PostPosted: Wed Jul 12, 2006 6:07 pm
Reply with quote

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
View user's profile Send private message
parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Thu Jul 13, 2006 4:18 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts Help Control-R IBM Tools 2
No new posts Try to understand IMS control block IMS DB/DC 0
No new posts Control-M Delay All Other Mainframe Topics 0
No new posts Possible to have two sort cards on on... DFSORT/ICETOOL 14
Search our Forums:

Back to Top