There are those time when a different cataloged procedure is required that does not have an entry in the linklist or the proclib concatenation for your mainframe account on Z/OS. The safest way to accomplish the desired effect is to use the proclib statement.
When you specify JCLLIB on the proclib statement you are able to set a search order for locating cataloged procedures from a procedure library that is not defined in your operating system.
//AMBMVS JOB (SYS), 'BROOKS COMPUTING SYSTEMS, LLC',CLASS=A, // MSGCLASS=A,MSGLEVEL=(1,1) //* //* //PROCLIB JCLLIB ORDER=SYSC.PROCLIB //STEP0001 EXEC FORTGC //SYSIN DD DISP=SHR,DSN=AMBMVS.PDS.FORT(TP01)
This technique allows the user to avoid creating in stream procs or adding procs to the default proc libraries.
Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.