
B–61803E–1/10
6. FUNCTIONS OF THE MACRO
EXECUTOR
PROGRAMMING
91
G338 Pp Qq Ff Zz Rr ;
(1) (2) (3) (4) (5)
In the write control mode, this command outputs specified macro
variable data in a specified tape format.
(1) Address P specifies the head variable number of the macro variable
string to be output.
(2) Address Q specifies the number of macro variables of which data is
output.
(3) Address F specifies the output format of the macro variable data.
(4) Address Z specifies whether the macro variable data is
zero–suppressed.
(5) Address R specifies a tape format for variable data output.
R0 : Standard format (same as when R is omitted)
R1 : Variable numbers are not output.
R10 : The last % (EOR) is not output.
R11 : Variable numbers and the last % (EOR) are not output.
R20 : The first % (EOR) is not output.
R21 : Variable numbers and the first % (EOR) are not output.
R30 : The first and last %s (EORs) are not output.
R31 : Variable numbers and the first and last %s (EORs) are not
output.
(a) If variable numbers are not output, the output variable data can
be read into the variables specified by address P of the macro
variable input function (G337).
(b) The function to control the output of the first or last % (EOR)
allows the data of multiple variable groups to be output in a single
format.
The output format is the same as the input format. The first block has
address N with the head variable number and address P with the
variable data. In the subsequent blocks, data of specified number of
variables is output with address P. At the end, the EOR code is output.
The CR code can be output for each block if parameter PTCR (No.
9003#6) is specified accordingly at time of compilation.
PTCR = 0: When macro variable data is output, CR is not output after
LF.
%LF N10000P1234 P5678LF LF%
PTCR = 1: When macro variable data is output, CR is output twice
after LF.
LF N10000P1234% CRCR LF CRCR P1234 LF CRCR %
6.5.2.6
Outputting Macro
Variable Data (G338)