PROCESS Statement
A PROCESS statement, or called process card, indicates the process name and is contained in a client job step.
The JCL client of TIBCO MFT Platform Server for z/OS communicates with the server through cross memory services to queue transfer requests. Every transfer request to a platform server is assigned a process name by the user who initiates the request. The process name can be used subsequently by operators who want to monitor the progress of the transfer. The process name is also displayed in a message at the end of every file transfer.
The process name is indicated by a process card. A client job step can contain one or more process cards. Each process is indicated by a PROCESS statement, which is a record in the SYSIN file.
//SYSIN DD * PROCESS,PAYROLL,TRANSFER,SEND : : parameters PROCESS,INVENTORY,TRANSFER,RECEIVE : : parameters /*
The following table lists the three positional parameters of the PROCESS card:
Format of PROCESS Statements
- Put a non-space in column 72. Data is continued in column 1 of the next record.
- Append a space plus space combination ( + ) to the end of a line. The first non-blank character of the next line is appended to the last non-blank character of the first line.
- Append a space plus plus combination ( ++) to the end of a line. A space is added between the first non-blank character of the next line and the last non-blank character of the first line.
Parameters can also be enclosed in single or double quotation marks to accommodate imbedded quotations.
Examples of Process Statements
The following examples show how to define the PROCESS cards.
Example 1:
PROCESS MONTHLY,TRANSFER,RECEIVE
In this example, the process is named as MONTHLY, and is defined to receive a file from a remote computer. After this statement is issued, operators can refer to the process in commands by this name.
Example 2:
PROCESS PAYROLL,TRANSFER,SEND
In this example, the process is named as PAYROLL, and is defined to send a file to a remote computer.
Example 3:
PROCESS LOCALJOB,TRANSFER,SUBMIT
In this example, the process is named as LOCALJOB, and is defined to submit a job to the internal reader.
Example 4:
PROCESS RUNSCRPT,TRANSFER,SCRIPT
In this example, the process is named as RUNSCRPT, and is defined to schedule a script to run in the TIBCO MFT Platform Server for z/OS started task.
Example 5:
PROCESS,,PING
This process checks whether a TIBCO MFT Platform Server for z/OS is active. It returns 0 if the server is active, and returns a non-zero number if the server is not active. The PROCESS,,PING request can also be called from within the script program OSIUB000 or OSIUC000, or the API interface (FUSCFAPI).