HP-UX SNAplus2 RJE User's Guide

Getting Started
Using SNAplus2 RJE
Chapter 232
FOLLOW indicates you are viewing new console messages. BROWSE appears
when you are viewing earlier console messages.
You can issue host commands by typing them on the command line and
pressing Return. The following JES2 command displays information
about the remote host that the workstation is using. (RMT26 is an
example remote name. Use the remote name that is configured for your
workstation):
$DU,RMT26
To exit the console program, press f3 or CTRL-X.
Sending a Job
Try sending a job to the host. The following is a sample job file:
//IBM1 JOB (1111,AAA), 'Bill Smith',CLASS=A MSGCLASS=A
//STEP1 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=A
//SYSUT2 DD SYSOUT=B
//SYSIN DD DUMMY
//SYSUT1 DD *
˜! cat datafile
/*
Note that the file named datafile will be included in the job before you
send it to the host.
To send the job, type the following on the command line:
snaprjesend RJE1
filename
where
filename
is the name of your job file.
The screen displays the following message:
Job file submitted to job spooler
Job spooled as SPL_abcdef
SPL_abcdef is the Job’s spool file name. It will be different for each job
that you spool.
You can obtain information on the status of the job by viewing the RJE
job log file (see “RJE Job Log File” in Chapter 3).
After the data has been received from the host, it will be sent to the
location (directory, program, or file) specified in the device configuration.
If the device was configured to send output to the program