PRTUSRSPC       PRINT USER SPACE                       TAASPCK

 The Print  User  Space command  prints the  value  of a  user space  in
 character and  hex.  32  bytes of data are  printed per line.   A start
 and end position parameter are supported.

 A typical command would be:

              PRTUSRSPC    USRSPC(xxx)

 A  spooled file would be created with the  same name as the user space.
 Use the Offset  shown plus  the position within  the data to  determine
 the actual byte location.

 Any  hex  values  below X'40'  are  changed  to  X'40' when  EBCDIC  is
 printed.

 Command parameters                                    *CMD
 ------------------

    USRSPC        The  qualified name of  the user space  to be printed.
                  The library defaults to *LIBL.

    STRPOS        The position in the user  space to begin the  listing.
                  The default is 1.

    ENDPOS        The position  in the  user space  to end  the listing.
                  The default is *END for the end of the user space.

 Restrictions
 ------------

 None.

 Prerequisites
 -------------

 The following TAA Tools must be on your system:

      CVTDSPDTA       Convert display data
      CVTHEX          Convert hex
      EDTVAR          Edit variable
      RTVSYSVAL3      Retrieve system value 3
      RTVUSRSPCA      Retrieve user space attributes
      SNDCOMPMSG      Send completion message
      SNDESCMSG       Send escape message
      SNDSTSMSG       Send status message

 Implementation
 --------------

 None, the tool is ready to use.

 Objects used by the tool
 ------------------------

    Object        Type    Attribute      Src member    Src file
    ------        ----    ---------      ----------    ----------

    PRTUSRSPC     *CMD                   TAASPCK       QATTCMD
    TAASPCKC      *PGM       CLP         TAASPCKC      QATTCL
    TAASPCKC2     *PGM       CLP         TAASPCKC2     QATTCL
    TAASPCKR      *PGM       RPG         TAASPCKR      QATTRPG

Added to TAA Productivity Tools May 1, 1998


Home Page

Last modified on March 10, 2014 © 1995, 2014 - TAA Tools, Inc.