11.07.2015 Views

HLASM: V1R6 Language Ref

HLASM: V1R6 Language Ref

HLASM: V1R6 Language Ref

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PUNCH instructionv A pair of single quotation marks is punched as one single quotation mark.v An unpaired single quotation mark followed by one or more spaces simplyends the string of characters punched. If a non-space character follows anunpaired single quotation mark, an error message is issued and nothing ispunched.Only the characters punched, including spaces, count toward the maximum of80 allowed.|The PUNCH instruction causes the data in its operand to be punched (copied) intoa record. One PUNCH instruction produces one record, but as many PUNCHinstructions as necessary can be used.You can code PUNCH statements in:v A source module to produce control statements for the linker. The linker usesthese control statements to process the object module.v Macro definitions to produce, for example, source statements in other computerlanguages or for other processing phases.The assembler writes the record produced by a PUNCH statement when it writesthe object deck. The ordering of this record in the object deck is determined by theorder in which the PUNCH statement is processed by the assembler. The recordappears after any object deck records produced by previous statements, and beforeany other object deck records produced by subsequent statements.The PUNCH instruction statement can appear anywhere in a source module. If aPUNCH instruction occurs before the first control section, the resultant recordpunched precedes all other records in the object deck.The record punched as a result of a PUNCH instruction is not a logical part of theobject deck, even though it can be physically interspersed in the object deck.Notes:1. The identification and sequence number field generated as part of other objectdeck records is not generated for the record punched by the PUNCHinstruction.2. If the NODECK and NOOBJECT assembler options are specified, no records arepunched for the PUNCH instruction.3. Do not use the PUNCH instruction if the GOFF option is specified, as theresulting file may be unusable.PUSHinstructionThe PUSH instruction saves the current PRINT, USING or ACONTROL status inpush-down storage on a last-in, first-out basis. You restore this PRINT, USING orACONTROL status later, also on a last-in, first-out basis, by using a POPinstruction.208 <strong>HLASM</strong>: <strong>V1R6</strong> <strong>Language</strong> <strong>Ref</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!