HP-UX SNAplus2 RJE User's Guide

SNAplus2 RJE Commands
snaprjecmd
Chapter 4110
snaprjecmd
The snaprjecmd command sends host commands through the RJE
console program (See Chapter 5, “SNAplus2 RJE Console Program.”) to a
workstation from the command line.
You must specify a workstation name with this command and optionally
specify a host command string. If no host command string is specified,
then input is taken from standard input. STDIN may be redirected to a
file containing host commands.
NOTE The purpose of this command is primarily for issuing host commands
programmatically. For most purposes, it is easier to use the snaprjecon
program to access a workstation's console. (See Chapter 5, “SNAplus2
RJE Console Program.”)
Syntax
snaprjecmd
WKSThostcommand
Parameters
WKST
WKST
is the name of the RJE workstation to which the
command is being sent. This must be the name of a
running RJE workstation, and your user ID must be in
the group configured for this workstation. See your
system administrator if necessary.
hostcommand
The command you are sending to the host Job Entry
Subsystem (JES). The syntax of these commands is
defined by the host. (See your host JES documentation
for more information.)
If you do not enter a command on the command line,
SNAplus2 RJE will read commands in from standard
input. You can redirect STDIN to a file of commands.
Note that when you enter a host command on the
command line, any characters such as $ must be