Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rjestat(1C) — UNIX System III

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

send(1C)

rje(8)

RJESTAT(1C)  —  UNIX 3.0

NAME

rjestat − RJE status report and interactive status console

SYNOPSIS

rjestat [ host ]...  [ −shost ]  [ −chost cmd ]...

DESCRIPTION

Rjestat provides a method of determining the status of an RJE link and of simulating an IBM remote console (with UNIX features added).  When invoked with no arguments, rjestat reports the current status of all the RJE links connected to to the UNIX system.  The options are:

host Print the status of the line to host. Host is the pseudonym for a particular IBM system.  It can be any name that corresponds to one in the first column of the RJE configuration file. 

−shost After all the arguments have been processed, start an interactive status console to host.

−chost cmd Interpret cmd as if it were entered in status console mode to host. See below for the proper format of cmd.

In status console mode, rjestat prompts with the host pseudonym followed by : whenever it is ready to accept a command.  Commands are terminated with a new-line.  A line that begins with !  is sent to the UNIX shell for execution.  A line that begins with the letter q terminates rjestat. All other input lines are assumed to have the form:

ibmcmd [ redirect ]

Ibmcmd is any IBM JES or HASP command.  Only the super-user or rje login can send commands other than display or inquiry commands.  Redirect is a pipeline or a redirection to a file (e.g., “> file” or “ | grep ...”).  The IBM response is written to the pipeline or file.  If redirect is not present, the response is written to the standard output of rjestat.

An interrupt signal (DEL or BREAK) will cancel the command in progress and cause rjestat to return to the command input mode. 

EXAMPLE

The following command reports the status of all the card readers attached to host A, remote 5.  JES2 is assumed. 

rjestat  −cA  ′$du,rmt5  │  grep  RD′

DIAGNOSTICS

The message “RJE error: ...” indicates that rjestat found an inconsistency in the RJE system.  This may be transient but should be reported to the site administrator. 

FILES

/usr/rje/lines RJE configuration file

resp host response file that exists in the RJE subsystem directory (e.g., /usr/rje1). 

SEE ALSO

send(1C), rje(8). 
OS/VS2 HASP II Version 4 Operator’s Guide, IBM SRL #GC27-6993. 
Operator’s Library: OS/VS2 Reference (JES2), IBM SRL #GC38-0210. 

May 16, 1980

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026