REPRO instruction

The REPRO instruction causes the data specified in the statement that follows to be copied unchanged into the object file.

Read syntax diagramSkip visual syntax diagram>>-+-----------------+--REPRO----------------------------------><
   '-sequence_symbol-'         
 
sequence_symbol
is a sequence symbol.

The REPRO instruction can appear anywhere in a source module. One REPRO instruction produces one punched record, but as many REPRO instructions as necessary can be used. Records are created as the object file is being created, so records may be interspersed among object code. These records are part of the object file, but are not intended to contain normal object code or symbols.

The statement to be reproduced can contain any of the 256 characters in the EBCDIC character set, including spaces, ampersands, and single quotation marks. Unlike the PUNCH instruction, the REPRO instruction does not allow values to be substituted into variable symbols before the record is punched.

Notes:
  1. The identification and sequence numbers generated as part of other object deck records is not generated for records punched by the REPRO instruction.
  2. The sequence field of the record to be REPROed is not checked, even if the ISEQ instruction was specified.
  3. If the NODECK and NOOBJECT assembler options are specified, no records are punched for the REPRO instruction, or for the object deck of the assembly.
  4. Since the text of the line following a REPRO statement is not validated or changed in any way, it can contain double-byte data, but this data is not validated.
  5. Do not use the REPRO instruction if the GOFF option is specified, as the resulting file may be unusable.

[ Top of Page | Previous Page | Next Page | Contents | Index ]