Previous Page Contents Page Next Page

3.9 Sending Host Commands

The snarjecmd command sends a given host command (or series of commands) to a workstation from the command line.

Sample command: snarjecmd wks1 \$p wks1.PU2

You must use this command on the computer on which the RJE workstation is running (the computer for which it is configured). Consult your System Administrator if necessary, or refer to the SNAP-IX Administration Guide for information about RJE workstation configuration.

3.9.1 Syntax

The syntax for the snarjecmd command is:

snarjecmd wkst hostcommand

3.9.2 Options

None.

3.9.3 Parameters

You must use the following parameters with the snarjecmd command:

wkst

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; consult your System Administrator if necessary. The workstation name is not case sensitive.

hostcommand

Command you are sending to the host job entry subsystem (JES). The syntax of these commands is defined by the host; refer to your host JES documentation for more information about the commands you can use.

If you do not enter a command on the command line, SNAP-IX reads from standard input. In this case, you can enter more than one command (with a carriage return at the end of each command).

When you enter a host command on the command line, any special characters such as $ must be preceded by a \ to prevent their interpretation by the Solaris shell (as shown in the sample command at the beginning of this section). This is not necessary for commands entered from standard input.

3.9.4 Returned Messages

SNAP-IX sends Host information messages to the workstation console log file, where they can be viewed using the RJE console program (see RJE Console Program, for more information).

Other messages can be sent to standard error, indicating (for instance) the following:

Previous Page Contents Page Top of Page Next page