GDDM V3R2 Base Application Programming Reference
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF | BOOK


Field naming rules

GDDM V3R2 Base Application Programming Reference
SC33-0868-02



  1. Field names (including selector and adjunct names) follow the normal GDDM-IMD rules. The names can be seen in the GDDMCOPY file produced by the ERXMSVAR EXEC.
    
    
    Field names and adjunct suffixes are converted into names acceptable to REXX, by changing hyphens (-) to underscores (_). Thus, MY-FIELD becomes MY_FIELD, and if it has the color selector adjunct COL-SEL, that becomes MY_FIELD_COL_SEL.
    
    
    Adjunct suffixes depend on the language you selected when you generated the mapgroup (see "Application data structure for mapping" in topic 16.0 for details).
    
    
  2. If you do not use
    
    
    
             FIELD NAMES INCLUDED IN GENERATED MAPGROUP  ==> YES
    

    GDDM-REXX generates field names as follows:

    For fields
    prefix||"NO_NAME_"||field-number
    
    
    For adjuncts
    prefix||"NO_NAME_"||field-number||adjunct-suffix
    
    

    where:

    prefix
    Is as previously described.
    
    
    NO_NAME_
    Is the standard name given to all fields.
    
    
    field-number
    Is the GDDM-IMD sequence number of the field in the map (array indexes, if any, are lost).
    
    
    adjunct-suffix
    Is the suffix that appears on all adjunct variables. It takes the PL/I form, using underscores.
    
    

    For example:

    
             X_NO_NAME_3 = "           "
             X_NO_NAME_4 = "      "
             X_NO_NAME_4_COL_SEL = " "
    

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012