MAINFRAME - TIP OF THE DAY :
When you specified V for RECFM parameter, LRECL value is largest record in the file plus 4 bytes. These four bytes contain the actual length of each variable length record in the file
Programmers Voted for below topics. Please Vote for good Posts.
Thank You! for your feedback. Connecting to the server. Please Wait...
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 ??
Posted: Wed Oct 15, 2008 10:48 am Post subject: JCLLIB PROCLIB INSTREAM PROC
Your question is something related to " calling procedures " in JCL.
Let me give you some background on this.
When you call a procedure, the system retrieves it using the following search order
1. From the input stream
If the called procedure is an in-stream procedure, the system retrieves it from the job
input stream. You must place the in-stream procedure before the EXEC statement that calls it.
2. From a private library
If the called procedure is cataloged in a private library, the system
retrieves it from the private library that you specify on the JCLLIB
statement that appears earlier in the job stream.
3. From the system library
If the called procedure is cataloged in a system libarary, the subsystem retrives it as follows.
In JES2, from the library names on the PROCLIB=parameter on a /*JOBPARM statement
In JES3, from the library name on the PROC=parameter OF THE //*MAIN statement
In MSTR, the data set specified by the IEFPDSI DD statement in the currently active master JCL is searched for procedures.
The default master JCL specifies SYS1.PROCLIB
It look like your JCL is some thing related to "Easy PROCLIB" product.
In the past, OET licensed a product named Easy PROCLIB. This product gave mainframe batch customers the ability to execute code from a library that was not considered part of the system defaults. Since this function has now been added to the z/Series operating system, Easy PROCLIB is no longer necessary.
As part of the process of eliminating the Easy PROCLIB license, batch customers who utilized the Easy PROCLIB software will need to make changes to their JCL. The old format was to add a DD statement with the reserved name of "PROCLIB" prior to the first execute statement. This statement could reference a library or a concatenation of libraries, which would be searched before the normal system libraries. An example would be:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
Cobol Tutorial This cobol tutorial covers most of the important topics like STRING, UNSTRING, COMP, COMP-3.....
DB2 Tutorial DB2 Tutorial focuses on DB2 COBOL Programming. Explains in simple language. Some Chapters are locked, Forum members have free access to these chapters
CICS Tutorial This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming...
JCL Tutorial This is most popular JCL tutorial from mainframegurukul. It does contain important jcl ....
SORT Tutorial This Tutorial covers all important aspects of DFSORT. Has more SORT examples