Changing the JCL skeletons for batch mode
Several functions in FM/Db2 are available in batch mode. For these functions to run successfully, appropriate job control must be provided. This is done by means of the set processing options and job control skeletons. The job control skeletons for FM/Db2 are the members FMN2FTSL and FMN2FTEX in FMN.SFMNSLIB.
FMN2FTSL
FMN2FTSL assigns a STEPLIB DD concatenation which comprises the FM/Db2 load library and the Db2® load libraries for the Db2® subsystem you are using. (The Db2® load libraries are specified by DB2LLIB in the FMN2SSDM macro for the Db2® subsystem you are using, in FMN2POPT. For more information, see FMN2SSDM.)
FMN2FTSL assumes that you have installed FM/Db2 into the default target libraries, and that the load library is FMN.SFMNMOD1. If you have installed FM/Db2 into a different library, or if you do not want the load library in a STEPLIB DD concatenation (for example, if FMN.SFMNMOD1 is in your LINKLIST), you must modify the FMN2FTSL skeleton accordingly.
You modify FMN2FTSL using the usermod FMN2UMDB. FMN2UMDB is distributed in FMN.SFMNSAM1. To do this:
- Copy the member FMN2FTSL from FMN.SFMNSLIB to your own source library.
- To change the name of the load library, change the line:
to read:)SET SFMNMOD1 = FMN.SFMNMOD1
where your.loadlib is the name of the load library where you installed FM/Db2.)SET SFMNMOD1 = your.loadlib
To change the skeleton so that no STEPLIB DD statement is generated for the load library, change the line:
to read:)SET SFMNMOD1 = FMN.SFMNMOD1
)SET SFMNMOD1 = &Z
Note: A STEPLIB DD statement will always be generated for the Db2® load libraries for the Db2® subsystem you are using. - Modify the FMN2UMDB member in FMN.SFMNSAM1 to meet your site's requirements. Refer to the usermod for information about changes you might need to make.
- Install SMP/E usermod FMN2UMDB.
FMN2FTEX
FMN2FTEX provides printer information to FMN2FTSL. You might also need to modify FMN2FTEX, for example, to change the DCB information for SYSPRINT.
Modify FMN2FTEX using the usermod FMN2UMDE, which is distributed in FMN.SFMNSLIB. To do this:
- Copy the member FMN2FTEX from FMN.SFMNSLIB to your own source library.
- Modify one or more of the following three statements in FMN2FTEX
in your library, as required. Do not change any other statements in
FMN2FTEX.
//SYSPRINT DD SYSOUT=* //FMNTSPRT DD SYSOUT=* //SYSTERM DD SYSOUT=*
For example, you might want to change
to//SYSPRINT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*,DCB=(RECFM=FBA,LRECL=133)
- Modify the FMN2UMDE member in FMN.SFMNSAM1 to meet your site's requirements. Refer to the usermod for information about changes you might need to make.
- Install SMP/E usermod FMN2UMDE.