HLASM Language Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


REPRO instruction

HLASM Language Reference
SC26-4940-06

The REPRO instruction causes the data specified in the record 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 might 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 apostrophes. 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 are not generated for records punched by the REPRO instruction.
  2. The sequence and continuation fields of the record to be REPROed are 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 might be unusable.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014