TAA Tools
CVTDDSSRC     CONVERT DDS SOURCE                         TAASRCI

The Convert  DDS source  command provides  the conversion  of S/38  DDS
source in  the same manner that  CVTCLSRC converts S/38 CL  source.  An
old  source  file  and a  new  source files  are  named.   A  member, a
generic member or all members may be converted.

For example, the CVTDDSSRC command  will search the DDS source  for the
keyword  REF  and if  a  qualified name  has  been  specified, it  will
convert as follows:

            Old         REF(FLDREF.LIBY)
            New         REF(LIBY/FLDREF)

The typical command would be entered as:

       CVTDDSSRC     FROMFILE(QDDSSRC)
                     TOFILE(NEWDDS)
                     FROMMBR(*ALL)

The corresponding member name must not exist in the new file.

CVTDDSSRC  only  checks for  keywords  and values  that  are completely
contained in one source statement.   The keywords do not have to  start
in position  1 nor  be the  first keyword.   A  continuation record  is
valid  as long  as the complete  keyword and  the value are  within one
source statement.

    Valid for conversion

       REF(FILEX.LIBY)
       DSPATR(HI) REFFLD(FILEX.LIBY)
       DSPATR(HI) +
         REFFLD(FILEX.LIBY)
       ERRMSGID(USR0010 FILEX.LIBY)
       JFILE(FILA.LIBY FILB.LIBY)
       REFFLD(FLD1.FMTA FILA.LIBB)

    Invalid (will be duplicated into the new source)

       REF(FILEX.-
          LIBY)
       ERRMSGID(USR0010 +
          FILEX.LIBY)
       JFILE(FILA.LIBY +
          FILB.LIBY)

The source statements which  are not converted are  just copied to  the
new member.  There is no reformatting of the source.

The RTGxxx and  ACCPTH keywords are  invalid in the  i5/OS environment.
These keywords will be flagged.

A  printed listing occurs  with the  spooled file  name as the  name of
the  FROM  file.    The listing  describes  each  member  processed and
whether it  was  converted or  not.   If a  source  statement fails  to
convert, it is listed along with it's statement number.

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

   FROMFILE      The  FROM source  file which  contains the  DDS  to be
                 converted.

   TOFILE        The  TO source file  where the  converted members will
                 be placed.    The  member  must  not  exist  prior  to
                 executing the command.

   FROMMBR       The  FROM member  name  to be  converted.   A  generic
                 name may also be entered or *ALL.

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

The following TAA Tools must be on your system.

      CHKGENERC     Check generic
      EDTVAR        Edit variable
      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
   ------        -----      ---------      ----------     -----------

   CVTDDSSRC     *CMD                      TAASRCI        QATTCMD
   TAASRCIC      *PGM          CLP         TAASRCIC       QATTCL
   TAASRCIR      *PGM          RPG         TAASRCIR       QATTRPG
					

Added to TAA Productivity tools April 1, 1995


Home Page Up to Top