Specifying JCL Statements to run the host server program as a job

You can run the host server program either in a startable address space or as a job managed by an MVS initiator. This section describes how to run the host server program as a job managed by an MVS initiator.

The JCL must execute the AFP Upload server program, named AUPTCPS. This program is written in the PL/I language. It requires that the Language Environment runtime library be included in the STEPLIB definition. The AFP Upload server program also requires that the SYSPRINT DD name be allocated. For more information about the SYSPRINT DD name used by the host server program, see Specifying the SYSPRINT DD statement.

Specify TIME=NOLIMIT in the JCL EXEC statement. This specification causes job step wait limits to be bypassed. If this specification is omitted, the job will end with system code 522 if all of the tasks are in a wait state for the time specified in the JWT parameter of the SMFPRMxx parmlib member. Lengthy waits are normal during periods when no AFP Upload AIX clients send files to the host server program.

Note: The host server program runs continuously. If you run the host server program as a job managed by an MVS initiator, the host server program runs until you cancel the job.