TAA Tools

The Save Library to  IFS command simplifies saving a library  to an IFS
stream  file in order  to allow the  stream file be  used as an  E mail
attachment.   The  command does the  following: 1) creates  a save file
in QTEMP 2)  uses SAVLIB  to the save  file 3)  uses CPYTOSTMF to  copy
the save  file to the  specified stream file.   See the  companion tool

You  must have  the special authority  *SAVSYS or  the object existence
right to the objects being saved.

SAVLIBIFS uses the CPYTOSTMF default  for the AUT parameter to set  the
authority  to a  new  stream  file.   If  the  stream file  exists,  no
authority change occurs.

A typical SAVLIBIFS command would be:

             SAVLIBIFS     LIB(ABC)

The  default  for  the STMFDIR  parameter  is  *HOME  meaning the  user
profile must have a home directory  and the directory must exist.   The
default for the stream file  name is *LIB meaning the same  name as the
library.   The home directory would be  retrieved and concatenated with
the stream file name to produce an IFS stream file name such as:


The  file can  then be  attached to an  E mail  and sent  to another i5

If the stream file does not  exist, it is added.  If it does  exist, it
is replaced.

SAVLIBIFS escape messages you can monitor for

      TAA9897    The stream file directory was not found

Escape messages from based on functions will be re-sent.

Command parameters                                    *CMD

   LIB           The library to be saved.

   STMFDIR       The  stream  file directory.    The  default is  *HOME
                 meaning  to use the home directory  stored in the user
                 profile.  A  home directory must  be specified in  the
                 user profile and the directory must exist.

                 A directory entry may be specified such as /HOME/xxx

   STMF          The  stream file  name to  be  used.   The default  is
                 *LIB meaning the same name as the LIB parameter.

                 If  the stream file does  not exist, it is  added.  If
                 it does exist, it is replaced.

   DTACPR        A *YES/*NO  parameter  for  whether  to  compress  the
                 data as  it is written  to the save  file.  The  value
                 is passed  thru to the  SAVLIB DTACPR parameter.   The
                 default is *NO.

                 *YES may be specified to compress the data.

   TGTRLS        The  target  release  to  be used.    *CURRENT  is the
                 default for  the current  release.   Use the  prompter
                 to see the supported values.




The following TAA Tools must be on your system:

     CHKIFSE         Check IFS entry
     CHKOBJ3         Check object 3
     RSNLSTMSG       Resend last message
     RTVHOMDIR       Retrieve home directory
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information
     SNDESCMSG       Send escape message
     SNDJLGMSG       Send job log message
     SNDSTSMSG       Send status message


None, the tool is ready to use.

Objects used by the tool

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

   SAVLIBIFS     *CMD                   TAAIFTE       QATTCMD
   TAAIFTEC      *PGM       CLP         TAAIFTEC      QATTCL

Added to TAA Productivity tools September 1, 2004

Home Page Up to Top