What is cardlib or control card and how to use them



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

What is cardlib or control card and how to use them

Postby selvakumarmvs » Fri Feb 05, 2010 10:19 am

hi,

i want to know what is cardlib or control card and how to use them
selvakumarmvs
 
Posts: 9
Joined: Fri Feb 05, 2010 10:14 am
Has thanked: 0 time
Been thanked: 0 time

Re: cardlib

Postby dick scherrer » Fri Feb 05, 2010 10:26 am

Hello and welcome to the forum,

Far too generic a question for any specific answer. . .

Once upon a time, instream data was "punched" into cards and read into the system. These cards were replaced by partitioned data sets more than 30 years ago, but often the pds that held this control information was called "cardlib".

They are used as needed. The "commands" to direct the processing of utilities and application programs are typically placed into this kind of data set.

If you have something more specific that you are looking for, someone will be here. . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: cardlib

Postby selvakumarmvs » Fri Feb 05, 2010 12:27 pm

thank u ...

but for that we can use procedure also..is it? ..is there any difference between controllib and procedure...i tried google..but i didnt get any info ...can u please tell me any example or notes

Regards
selva..
selvakumarmvs
 
Posts: 9
Joined: Fri Feb 05, 2010 10:14 am
Has thanked: 0 time
Been thanked: 0 time

Re: cardlib

Postby Robert Sample » Fri Feb 05, 2010 6:33 pm

A procedure can be a single step of JCL that executes a program or utility -- or it can be 255 steps executing 255 programs and/or utilities. The control library contains the parameters being passed to the program(s) or utility(ies) to give them directions on what to do. Bottom line: a procedure involves JCL while control libraries involve data (almost never a single // statement to be found).
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: cardlib

Postby selvakumarmvs » Fri Feb 05, 2010 6:53 pm

can you please give some example......please

thanks
selva...
selvakumarmvs
 
Posts: 9
Joined: Fri Feb 05, 2010 10:14 am
Has thanked: 0 time
Been thanked: 0 time

Re: cardlib

Postby Robert Sample » Fri Feb 05, 2010 7:16 pm

If this is a homework assignment, please develop your own examples. If not, then please find the JCL Language Reference manual (hint: http://www.s390.ibm.com) and read up until your questions are resolved.

In general, asking for code or examples on these forums is not a good idea -- you are asking people to provide their professional work product, for which they are typically paid. If you are willing to spend the 1000 (or more) U.S. dollars per day of time to compensate them for developing work products, you can usually get what you want. Otherwise, you must remember that this is a HELP forum, not a DO-YOUR-JOB-FOR-YOU forum.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: cardlib

Postby dick scherrer » Sat Feb 06, 2010 1:28 am

Hello,

is there any difference between controllib and procedure...
The biggest difference (assuming you meant proclib rather than "procedure") is content. The PROClib(s) contains jcl. The others contain "data" that is input to utilities and application programs.

In addition to reading the JCL manuals, you might also look around on your system to see the content of some of these datasets on your system (provided you have permission to read them).
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post