Example of Use

The following is an example showing how you would use successive IATXBKIO macros to build a parameter list and invoke the block spooler.
IATXBKIO  FUNC=ACCESS        Creates the control
                             blocks needed for the block
                             spooler to access spool.
            .
            .
IATXBKIO  SPADR=FSDBRCA,     Sets the specified spool address
        CALL=NO              in the block spooler parameter list.
            .
            .
IATXBKIO  FUNC=READ,         Sets the specified function, type of
        TYPE=SRF,            function, and control block id in the
        ID=JNE,              block spooler parameter list.
        CALL=NO

IATXBKIO  FUNC=WRITE,        Invokes the block spooler and supplies
        BUFFER=(R9)          the address of the user's data to be
                             written back to spool.

IATXBKIO  FUNC=RELEASE       Ends the block spooler.