Description Function. Description Release. The table above was restructured from Tommy Sprinkle's Web site to group the members by the first character of the command. First special thanks to Sam Bass for providing me with the syntax information from his old. The information contained within is based on the following:. Syntax from Sam's Reference Card.
|Published (Last):||1 September 2015|
|PDF File Size:||9.9 Mb|
|ePub File Size:||15.31 Mb|
|Price:||Free* [*Free Regsitration Required]|
This topic provides a quick reference to the most-used JES2 remote commands. For more information about these commands, see your IBM manual or consult your host programmer. Sending commands to the host. Commands used to display information about the system, devices, or jobs in the system.
Commands used to control the JES2 system and operations for the jobs and devices under the operators jurisdiction. Use commas to separate operands when you specify more than one operand. RJE devices readers, printers, and punches are operands in many of the commands. Device names consist of two parts: device type and device number. For example, RD1 is reader 1 and PR2 is printer 2.
Because many remote terminals Terminals that are located at sites removed from the computers to which they are attached. Remote terminals rely on modems and telephone lines to communicate with the host computer. You can specify up to 4 readers, 4 punches, or 7 printers, depending on the number and type of devices supported at your remote. JES2 commands limit job or device manipulation to the remote operators jurisdiction.
A job is under the operators jurisdiction if the jobs output is routed to that node or if the job was submitted from that node. Operator command restrictions prevent outside manipulation or loss of a job and ensure the systems integrity. This section lists the most commonly used JES2 remote commands. The job resumes normal processing. Operators can use this command when printer or punch malfunctions produce distorted output. They can reprint or repunch part of the output without restarting the entire job.
The first operand identifies the printer or punch to backspace. The second operand gives the number of pages or lines to reprint or repunch or it tells the device to backspace to the beginning of the current data set. The number of cards or pages can range from 1 to If you do not specify a number, the system backspaces the printer one page or one line. For dev , substitute one of the following:. RD n to cancel reader n. PR n to cancel printer n. PU n to cancel punch n. If nnnn is a single number, only job nnnn displays.
If nnnn is a range of numbers, all jobs in that range display. The message can contain up to 53 characters. For y , substitute one of these parameters:. XEQ displays only jobs awaiting execution. XEQ c displays only jobs awaiting execution that have the job class specified by c.
PPU displays only jobs waiting for the printer or punch. HOLD displays jobs on hold. OUT displays jobs awaiting output processing. Job information and the percentage of spool use display. The operator can restart job output when print or punch output becomes damaged. This command terminates current printing or punching and re-queues the print or punch output.
Operators can advance the job a specified number of pages or cards or to the end of the current data set. For example, they can forward space over a long program listing to print only the programs output data set. The first operand identifies the device.
The second operand gives the number of pages or cards to forward space or tells the device to forward space to the end of the current data set. If the device encounters the end of a data set during a forward space, printing or punching resumes at the beginning of the next data set. If the operator does not specify a y operand, a 1 is assumed.
If a job is queued and on hold, the job remains queued and the system takes no action on the job. If the job is active, the job finishes its current activity and then re-queues. If a job is awaiting print, punch, or execution, it remains in that state until it is released.
If a job is being read, it finishes being read and then enters the execution queue on hold. A job currently executing finishes execution and enters the print queue on hold. The job resumes output according to job priority. The output automatically backspaces one page or card to prevent data loss.
When the small jobs complete, the operator can resume printing the large job. To print a short job with a priority lower than or equal to the job currently printing, complete the following steps. JES displays the status of any jobs submitted from the remote that issued the command, regardless of the output's destination. Operators can use this command to print applications requiring special forms. This command is particularly useful for determining why jobs are not printing. Typically, printing problems occur when the job criteria form and class do not match the printer criteria.
Operators can only specify one job name with this command. The ALL operand displays all attributes. It does not terminate the activity in progress. If another output device is available, the copy begins printing or punching concurrently. If only one device is available, the copy prints or punches after the current activity completes. Operators can use this command to make copies of special forms output for example, mailing labels without duplicating all the job output or rerunning the job.
If the operator specifies a job, the software flags it for purging. If the job is inactive, the software purges it. If the job is active, it completes its current activity and then the software purges it. If the operator specifies a device, the software drains the device if it is inactive.
If the device is active, the software sets it to drain. Then the device completes its current activity and drains. A device in the drained state will not start until the operator starts it. Operators can route the print or punch output of a job under their jurisdiction to another remote or to the host computer. For the operand type , substitute one of these values:. PRT to route print output. PUN to route punch output. ALL to route both print and punch output.
For the operand R yy , substitute one of these values:. LOCAL to route the output to the host computer. R nnnn to route the output to another remote specified by nnnn. If the operator at remote Ry types this command:. The two remotes share a common print queue. The operator can negate this command by typing the following command:. This command only affects jobs currently in the queue. If a job is awaiting processing, it becomes active.
Substitute one of these values:. RD n to start reader n. PR n to start printer n. PU n to start punch n. Operators can use this command to prevent a job from skipping lines between data lines because of a programming error.
The printer then only prints jobs with that special form name. STD indicates the printer will print only standard or regular forms no special form was specified in the job. The printer must be inactive for this command to work. Operators can use this option to write output to a computer disk. The default class is A for printers and B for punches. You can put one slash before or after a selection criterion.
A minus sign before the criterion removes that criterion from the list. These criteria are commonly used:. W Before the slash, the writer name for the output group must match the devices writer name. After the slash, matching is preferred but not necessary.
This topic provides a quick reference to the most-used JES2 remote commands. For more information about these commands, see your IBM manual or consult your host programmer. Sending commands to the host. Commands used to display information about the system, devices, or jobs in the system. Commands used to control the JES2 system and operations for the jobs and devices under the operators jurisdiction. Use commas to separate operands when you specify more than one operand. RJE devices readers, printers, and punches are operands in many of the commands.
MVS and JES2 Commands