Programmed Halts; Messages - IBM System/360 20 Operating Procedure

Tape programming system
Table of Contents

Advertisement

ate tape reel on the tape drive
assigned to SYSOPT and press the Load-
Rewind key and the start key of the
drive.
(Note that the work tape on
SYSOOO may be used as output tape.)
9.
Press the start keys of any required
I/O devices that are not yet ready.
10. Press the start key on the CPU console.
Figure
7
shows the arrangement of input
for an RPG compilation.
If the compile-and-execute function is
used, a halt occurs and the halt code 1D01
is displayed in the E-S-T-R fields on the
CPU console when the compilation of the RPG
source program has been completed.
The I/O
devices required for execution of the com-
piled program must now be prepared and
started.
The tape drive(s) used for the
work tape(s) during compilation may now be
used for data files.
If the object program
requires card input, tables (if any) must
precede card data files when both are read
from the same device.
Note that card data
files must be terminated by an end-of-file
card.
However, an end-of-file card must
not be placed behind a card table file.
To
initiate execution, press the start key on
the CPU console.
If the compilation is not to be followed
by an execution, a halt does not occur and
the next job is executed.
PROGRAMMED HALTS
A
number of programmed halts may occur dur-
ing the compilation and execution of pro-
grams written in the RPG language.
The
halt-code displays and the associated
restart procedures are described in the
section
g£Q~amm~~=Halt~i§E1EY§_~~£
.,Restart Prgcedure.§.
Several other halts can occur during the
execution of RPG object programs.
These
halts occur when an arithmetic operation is
performed on an invalid packed-decimal
operand.
They are identified
~y
an opera-
tion code displayed in the U-L fields on
the CPU console.
The following codes may
be displayed:
DE, F8, F9, FA, FB, FC, or
FD.
When one of these halts occurs, the job
must be discontinued.
The following steps
must be taken to discontinue the job:
1.
Prepare the I/O devices for the next
job.
2.
set Data Switch 1 to position 3 to
select the register to be altered.
3.
Set the four Register-Data/Address
switches to 00C2 (data to be entered
into the selected register).
4.
Set the
~ode
switch to ALTER BEG.
5.
Press the Start key on the CPU console.
6.
The data entered into the register are
displayed in the E-S-T-R registers.
The number of the selected register is
displayed as a four-bit binary number
in the P register.
7.
Set the Mode switch to PBOCESS.
8.
Press the Start key on the CPU console.
MESSAGES
During the
co~pilation
of a program written
in the RPG language, the RPG compiler
causes a number of messages to be listed on
the printer (SYSLST).
Heading, diagnostic,
and information messages may be printed.
For a list of these messages and their
meaning, refer to the SRI publication
1!~
~~§!~~Ll~Q_]Q£~l_~QL_]isk_EB~_lE£§_g£Qg£E~=
mlBg_~~E!~m§L_~~EQ£!_i£Qg£E~generato~,
Form C24-9001.
DESCRIPTION OF OUTPUT
The output obtained from an BPG compilation
consists of:
a program listing and printed messages
if the printer has been assigned to
SYSLST;
the object program contained in punched
cards if a card punching device has been
assigned to SYSOPT;
the object program deck on tape in card-
image format if a tape drive has been
assigned to SYSOPT.
If the compile-and-execute function is
used, the output of the user's problem pro-
gram is obtained in addition to the output
of the compilation as described above (if
the latter has been requested).
Use of Language Translators
a~d
ether IBM-Supplied Processing Programs
25

Advertisement

Table of Contents
loading

Table of Contents