HP-UX SNAplus2 RJE User's Guide

SNAplus2 RJE Commands
snaprjesend
Chapter 494
JCL commands that must be translated from ASCII to
EBCDIC
You can create the following master file called masterfile:
˜! cat JCLFILE
Reads the file JCLFILE and sends the file in text mode.
˜! -b cat datafile
Reads the file datafile, and turns on the -b option to
suppress character translation and send the file in
transparent mode. The -b option remains in effect
until the EOF is encountered in datafile.
˜! cat MOREJCL
Reads the file MOREJCL and sends that file in text mode.
To send the job created by masterfile to the workstation called RJE1,
you would then enter the snaprjesend command:
snaprjesend RJE1 masterfile
Example 2
To send the file, masterfile, to the SNA host converting all lowercase
characters (except those in a usr card) to uppercase, enter this command:
snaprjesend -f RJE1 masterfile
where masterfile contains the lines:
.
.
.
//* JCL cards here
˜˜ Comment line. The usr card will remain in lowercase.
˜+f
//* usr=(sam,/users/sam/results,77)
˜-f
˜˜ Comment line. Folding to uppercase continues here.
//* DATA HERE
.
.
.
Example 3