JCL Statements
You can use JCL statements to perform batch jobs and queue file transfers.
Required JCL Statements
This sample JCL includes the required JCL statements. Each of the JCL statements that are used in the sample are explained in the table that follows.
ALLOW This parameter converts the exclusive ENQ to a shared ENQ. If this parameter is not added, the MFT transfer most likely will fail with a
File in use error message. Support was added for the
DSENQSHR parameter in z/OS V2.1.
//OSIUB000 EXEC PGM=OSIUB000,PARM='SERVER=FUSION' //STEPLIB DD DISP=SHR,DSN=FUSION.LOADLIB //SYSPRINT DD SYSOUT=* //SYSIN DD *
| Statement | Description |
|---|---|
| EXEC PGM=OSIUB000,PARM='data' | Defines the program that must be executed to run the batch interface.
The PARM parameter defines the name of the Platform Server started task. You can also use the PARM parameter to override any SYSIN parameters. For more information, see Appendix G. Overriding JCL SYSIN Parameters. Note: The EXEC PGM program name must be defined as "OSIUB000".
|
| STEPLIB | Defines the library that contains the Platform Server load modules.
Note: You must include this statement in the JCL to identify the Platform Server load library. If the Platform Server LOADLIB is already added to the LINKLST, you do not need to add the Platform Server LOADLIB to the STEPLIB.
|
| SYSPRINT | Defines the output report file that records the parameters that are used for the file transfer.
If the file is successfully queued, you can read the output report file and find out the transaction number assigned to the job. |
| SYSIN | Defines the input file that records which file to transfer and to where to send the parameters that govern file transfer activities. |
Optional JCL Statements
The following table lists the optional JCL statements:
| Statement | Description |
|---|---|
| FUSCFG | Defines the configuration file that defines the server name, IP address, IP name, or LUName of the started task.
Note: This statement is only required when the
PARM CONFIG parameter is defined.
For more information on FUSCFG configuration, see "Defining and Configuring the FUSCFG File" in the TIBCO® Managed File Transfer Platform Server for z/OS Installation and Operation Guide. |