EDTDTAARA2      EDIT DATA AREA 2                       TAAARAE

 The Edit Data Area 2  command allows you to key over  the existing data
 in  a  character data  area.   The  edit  display appears  in  the same
 format  as used  by DSPDTAARA.   Each  line of  50 bytes is  a separate
 field.

 Thus you can key (or  key over) formatted lines with EDTDTAARA2.   This
 allows for the values to be easily seen with DSPDTAARA.

 The  EDTDTAARA  tool  also   allows  editing,  but  treats  the  entire
 contents as a single field on the display.

 The EDTDTAARA3 allows editing in Hex.

 A typical command would be:

            EDTDTAARA2   DTAARA(xxxx)

 When  the display appears, 9  lines (450 bytes) are  displayed.  If the
 data area size is greater than  450 bytes, rollup is allowed to  access
 each  succeeding 450  bytes.   Rolldown  is valid  to re-display  prior
 screens.

 When the  user presses Enter, a  check is made to  ensure that data has
 not been keyed beyond  the actual length  of the data  area.  An  error
 message will be displayed if this occurs.

 If data  below  X'40' exists,  it is  changed  to blank  and and  error
 message will appear.

 Contrast with other functions
 -----------------------------

 The  system  CHGDTAARA command  does  not  allow you  to  key over  the
 existing  value.  You  can change the  data, but the  existing value is
 not displayed.

 The TAA  Tool command  EDTDTAARA allows you  to key  over the  existing
 value, but  considers the entire  data area as  a single field  (if the
 data  area is less  than 800 bytes  in length).  EDTDTAARA  can be used
 to edit decimal data areas.

 Depending  on what  use  you  are  making  of  the  data  area,  either
 EDTDTAARA or EDTDTAARA2 should meet your editing needs.

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

    DTAARA        The  qualified  file  name  of the  data  area.    The
                  library  value  defaults to  *LIBL.    *CURLIB may  be
                  specified.

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

 Only character data areas may be  edited.  For numeric data areas,  use
 EDTDTAARA.

 If characters below  X'40' exist, a  prompt for the  EDTDTAARA3 command
 occurs.

 If the  TAALICENSE data area in TAATOOL,  TAAINS, TAAINS2, or TAAINSLIC
 is specified, no changes can occur to positions 1901 - 2000.

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

 The following TAA Tools must be on your system:

      RTVDTAARAD   Retrieve data area description

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

 None, the tool is ready to use.

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

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

    EDTDTAARA2    *CMD                   TAAARAE       QATTCMD
    TAAARAEC      *PGM       CLP         TAAARAEC      QATTCL
    TAAARAED      *FILE      DSPF        TAAARAED      QATTDDS

Added to TAA Productivity Tools May 1, 1996


Home Page

Powered by AS/400Powered by AS/400 Last modified on July 15, 2010 © 1995, 2010 - Jim Sloan, Inc.