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

what is Control card in JCL


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

New User


Joined: 23 Mar 2005
Posts: 25

PostPosted: Thu Mar 31, 2005 4:26 pm
Reply with quote

what is Control card in JCL? when we will use this?
Back to top
View user's profile Send private message
knd_r
Currently Banned

New User


Joined: 18 Mar 2005
Posts: 48

PostPosted: Thu Mar 31, 2005 6:58 pm
Reply with quote

hi,

control cards are nothing but dd statements in jcl that we use for input or output.

regards,
sudarsan reddy
Back to top
View user's profile Send private message
Arun Joseph

New User


Joined: 30 Mar 2005
Posts: 13
Location: India

PostPosted: Fri Apr 01, 2005 1:37 pm
Reply with quote

There can be control cards for sort, in which the card may have the details of the field on which it is to be sorted. There are control cards for delete defining VSAM files. These are only a few examples.
Back to top
View user's profile Send private message
satyanarayana.chitneni

New User


Joined: 28 Mar 2005
Posts: 4
Location: hyderabad

PostPosted: Fri Apr 01, 2005 2:47 pm
Reply with quote

Hi arun ,

can u give sample code for control cards.

thanks,
Satya
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Fri Apr 01, 2005 9:53 pm
Reply with quote

A control card (statement) provides information specific to a particular program in a format that the program writer defines.

For example, DFSORT has control statements such as SORT, MERGE, INCLUDE, OMIT, INREC, OUTREC, SUM, OUTFIL, OPTION, etc. These are all defined in "z/OS DFSORT Application Programming Guide".

Other programs and utilities (e.g. IEBCOPY, IEBGENER) have control cards defined for the information those programs need. The specific documentation for those programs give you the definitions for those control cards.
Back to top
View user's profile Send private message
die7nadal

Active User


Joined: 23 Mar 2005
Posts: 156

PostPosted: Sat Apr 02, 2005 12:08 am
Reply with quote

Just to add to the above digression, Contol Cards are PARAMETERS that are passed as Input to the Program. Typically in many IBM utilities like IDCAMS, IEBGENER the SYSIN or SYSTSIN DD will have the Contol cards
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 JCL sort card - get first day and las... JCL & VSAM 9
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts Generate output lines (SYSIN card for... DFSORT/ICETOOL 4
No new posts Need suggestion on a sort card DFSORT/ICETOOL 10
No new posts Want to mask Middle 8 Digits of Debit... COBOL Programming 3
Search our Forums:

Back to Top