HP-UX SNAplus2 RJE User's Guide

SNAplus2 RJE Components and Operation
Stages in Processing a Job
Chapter 3 41
Contents of a Job File
The host operating system determines the syntax of the job file's
contents. Check your host JES documentation for details. In general, the
job file will consist of the following:
Job Control Language (JCL) , which provides user and password
information and details of the processing required
Data to be processed by the host
JCL indicating the end of the data
A sample job file , which is intended for the host system JES2, appears
below.
//XNKJA JOB (05604Q,A,X),
// MSGCLASS=A,
// CLASS=E,
// USER=XNKBJ,PASSWORD=DEMO
//SETUP EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUT2 DD SYSOUT=*
//SYSUT1 DD *
TEST FILE LINE 1 THIS JOB WILL CAUSE THIS DATA TO BE SENT TO A
PRINTER DEVICE
TEST FILE LINE 2
TEST FILE LINE 3
TEST FILE LINE 4
TEST FILE LINE 5
TEST FILE LINE 6
TEST FILE LINE 7
TEST FILE LINE 8
TEST FILE LINE 9
TEST FILE LINE 10
TEST FILE LINE 11 THE END
/*
In this example, the first nine lines are JCL. The JCL causes the input
data to be copied to a class A device, typically configured as printer
output. The following eleven lines are the data to be processed by the
host. The final line, /*, indicates the end of the data.