At 17:26 -0700 on 06/11/2015, Lizette Koehler wrote about Re: STCK question:

And from another sample I found searching on EDIT MASK ASSEMBLER INSTRUCTION

To simplify maintenance of the program, I like to "document" the print masks by showing a character representation of the hex fields used in the mask. I use a B to indicate a blank as the leading fill character, a Z to indicate digit positions where leading zeroes will be suppressed, and a 9 to indicate digit positions where leading zeroes will not be suppressed. For example, I would document the print masks which we have used thus far as:
        MASK         DC    X'4020202020202020'          BZZZZZZZ
        MASK2      DC    X'402020202020'                BZZZZZ
        MASK3      DC    X'402020202120'                        BZZZZ9
        MASK4      DC    X'402021204B2020'              BZZ9.99
        MASK5      DC    X'402021204B202060'            BZZ9.99-
        CR               DC    X'402021204B2020C3D9'            BZZ9.99CR
        DB              DC    X'402021204B2020C4C2'             BZZ9.99DB
        CHKA        DC    X'5C20206B2021204B2020'        ***,**9.99
        CHKB         DC    X'5C2021204B2020'            ***9.99

Lizette

Another method is to use an * Comment to show the mapping.

*                  B Z Z 9 . 9 9 -
MASK5      DC    X'402021204B202060'            BZZ9.99-

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to