HP 3000 Manuals

>ALTER TEXT [ DICTIONARY 3000 ] MPE/iX 5.0 Documentation


DICTIONARY 3000

>ALTER TEXT 

Changes the generated code to include comments lines about the extracted
entities.

Prompts 

The following prompt is issued when the command-subcommand ALTER TEXT is
entered:

     GENERATE COMMENTS (N/Y)>

GENERATE COMMENTS (N/Y)>  Enter Y to generate comment lines which
                          describe the entities extracted from the
                          Dictionary.  These comment lines are written to
                          the output file along with the data
                          declarations and, if specified, the string
                          constants generated for the file names.
                          DICTPDE assumes that comment lines are not
                          generated unless Y is entered in response to
                          this prompt.

                          Pressing [[RETURN]] in response to this prompt
                          indicates that no comment lines are generated
                          for the extracted entities from the Dictionary.

Discussion 

ALTER TEXT allows you to generate additional code for the entities
extracted from the Dictionary in the form of comment lines.  These
comment lines include the following information about the extracted
entity:

entity                    name of the entity extracted from the
                          Dictionary.

entity-name               the entity long-name (as it was entered in
                          DICTDBM).

entity-resp               the name of the person, department, or area
                          responsible for the integrity of the entity.

date-change               the date of the latest change made to the
                          entity in the Dictionary.

date-create               the date the entity was created in the
                          Dictionary.

identity-change           the identity of the person, department, or area
                          that made the last change to the entity in the
                          Dictionary.

identity-create           the identity of the person, department or area
                          that created the entity in the Dictionary.

Example 

     >alter text
     GENERATE COMMENTS (N/Y)> y

     >generate file
     FILE(S)> account

     var
        account_rec =
         record
          firstname : longreal;
          lastname  : packed array[1..20] of char;
          address   :
           record
             case integer of
                0 :
                 (
                   buffer      : packed array[1..20] of char
                 );
                1 :
                 (
                   streetname  : packed array[1..10] of ' '..'Z'
                 );
                2 :
                 (
                   city        : packed array[1..10] of char
                 );
           end;
          phone    : packed array[1..20] of char
        end;

     {file                   : account                    }
     {file_name              : customer accounts          }
     {file_resp              : manager                    }
     {date_change            : 83/08/04                   }
     {date_create            : 82/09/02                   }
     {identity_change        : b. lewis                   }
     {identity_create        : manager                    }


MPE/iX 5.0 Documentation