PROCLIB
Posted: Tue Oct 14, 2008 8:38 pm
Defining A CATALOGUED proc:
----------------
//CATLOG1 PROC.
// ***"EXEC STATEMENTS AFTER THAT"****
// ********DD STATEMENTS & ALL********
I need some one who could help me out with this statement:
===========================================
//MYJOB JOB,
//PROCLIB DD DSN=MYPROCLIB, DISP=SHR
//S1 EXEC CATLOG1
Now the explanation given to this :
the dd statement identifies the pds where the procedure resides. Moreover itmust be there if this is a private library.The name CATLOG1 is not necessarily the name that has appeared on the proc card. Whatever the name is assigned to the PDS member when it is stored ,is also the name of the procedure.
NOW MY DOUBT IS :
1.HOW DIFFERENT IS THE PROCLIB STATEMENT FROM JCLLIB ORDER STATEMNT?
2.IS THERE ANY DIFFERENCE B/W THE TWO IF SO HOW?
3.IS THE PROCLIB STATEMENT MENTIONED ABOVE A KEYWORD IN JCL?
4.NOW IF I STORE A PROC WITH A DIFFERENT NAME FROM WHAT IS MENTIONED IN THE PROC CARD WHICH NAME SHOULD I BE USING TO CALL THE PROC IN THE MAIN JCL ??
KINDLY HELP ME WITH THESE QUERIES......
THANKS
KUMAR
----------------
//CATLOG1 PROC.
// ***"EXEC STATEMENTS AFTER THAT"****
// ********DD STATEMENTS & ALL********
I need some one who could help me out with this statement:
===========================================
//MYJOB JOB,
//PROCLIB DD DSN=MYPROCLIB, DISP=SHR
//S1 EXEC CATLOG1
Now the explanation given to this :
the dd statement identifies the pds where the procedure resides. Moreover itmust be there if this is a private library.The name CATLOG1 is not necessarily the name that has appeared on the proc card. Whatever the name is assigned to the PDS member when it is stored ,is also the name of the procedure.
NOW MY DOUBT IS :
1.HOW DIFFERENT IS THE PROCLIB STATEMENT FROM JCLLIB ORDER STATEMNT?
2.IS THERE ANY DIFFERENCE B/W THE TWO IF SO HOW?
3.IS THE PROCLIB STATEMENT MENTIONED ABOVE A KEYWORD IN JCL?
4.NOW IF I STORE A PROC WITH A DIFFERENT NAME FROM WHAT IS MENTIONED IN THE PROC CARD WHICH NAME SHOULD I BE USING TO CALL THE PROC IN THE MAIN JCL ??
KINDLY HELP ME WITH THESE QUERIES......
THANKS
KUMAR