TAA Tools
DSPPRTSPC       DISPLAY PRINT SPACING                  TAAPRTE

The  Display   Print  Spacing   command  is   designed  to  assist   in
determining what  printer output actually looks like  while it is still
a spooled file.

When  DSPSPLF is used, any blank  lines are automatically eliminated so
that you cannot see the affect of skipping or spacing.

DSPPRTSPC will  format the output  so that  spacing requests appear  as
blank  lines.   There will  be one  blank line  shown for  each request
that  causes more than one  line of spacing.   Any skip requests appear
as a separate line using one of the following formats:

       ********** First page - skip to line    6
       ********** Skip from line    62    to new page line    6
       ********** Skip from line    20    to line     32

The asterisks begin in position 1 of the output.

DSPPRTSPC is  implemented by  using CPYSPLF  to a  work  file in  QTEMP
specifying CTLCHAR(*PRTCTL).   An RPG program  then reads the  data and
writes to  a second member in  the same work file  with blank lines and
the skipping  information.   DSPPFM is  then used  to display  the  new
data.

If  you end  the DSPPRTSPC  command,  you can  still  display the  same
information by:

       DSPPFM      FILE(TAATOOL256)
              or
       DSPPFM      FILE(QTEMP/TAATOOL256)

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

   FILE          The  spooled  file   that  you  want  to  display  the
                 spacing on.

   JOB           The  job name which  contains the spooled  file.  An *
                 indicates the  current  job.   A  fully qualified  job
                 name may be used.

   SPLNBR        The   spooled  file   number.     This  is   the  same
                 definition  as  on  CPYSPLF.    It  defaults to  *LAST
                 which differs  from  the  CPYSPLF  default  of  *ONLY.
                 *LAST is used  to assist in those cases  where you are
                 re-printing  the same  information  and do  not delete
                 old spooled files.   *ONLY or  a specific file  number
                 may be specified.

   FIRSTLINE     The  first  line  of print.    The  default  is  *NONE
                 meaning  that nothing additional  is output.   If data
                 is  entered,  it  will  print  on  the  first  line of
                 output.   This allows you  to place  some comments  as
                 the first  line of  the spooled output.   The  data is
                 not  part  of the  normal  spooled  file.   Up  to 132
                 bytes may be specified.

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

The command can only be entered interactively (not in batch).

Up to 252 characters of print line may be displayed.

DSPPRTSPC uses CPYSPLF to  access the data.   CPYSPLF does not  support
all  spooled files.   For  example, those  containing special  graphics
are not supported.

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

The following TAA Tools must be on your system:

          SNDSTSMSG    Send status message

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

None, the tool is ready to use.

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

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

   DSPPRTSPC     *CMD                       TAAPRTE       QATTCMD
   TAAPRTEC      *PGM           CLP         TAAPRTEC      QATTCL
   TAAPRTER      *PGM           RPG         TAAPRTER      QATTRPG
					

Added to TAA Productivity tools April 1, 1995


Home Page Up to Top