Page 1 of 1

What is cardlib or control card and how to use them

PostPosted: Fri Feb 05, 2010 10:19 am
by selvakumarmvs
hi,

i want to know what is cardlib or control card and how to use them

Re: cardlib

PostPosted: Fri Feb 05, 2010 10:26 am
by dick scherrer
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. . .

Re: cardlib

PostPosted: Fri Feb 05, 2010 12:27 pm
by selvakumarmvs
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..

Re: cardlib

PostPosted: Fri Feb 05, 2010 6:33 pm
by Robert Sample
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).

Re: cardlib

PostPosted: Fri Feb 05, 2010 6:53 pm
by selvakumarmvs
can you please give some example......please

thanks
selva...

Re: cardlib

PostPosted: Fri Feb 05, 2010 7:16 pm
by Robert Sample
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.

Re: cardlib

PostPosted: Sat Feb 06, 2010 1:28 am
by dick scherrer
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).