DSIV FM GET FIELD ATTRIB MULT (3359)    REMOTE PROCEDURE (8994)

Name Value
NAME DSIV FM GET FIELD ATTRIB MULT
TAG MULT
ROUTINE DSIVFM06
RETURN VALUE TYPE ARRAY
AVAILABILITY AGREEMENT
DESCRIPTION
This will return field attributes from a selected file for one or more 
fields.
INPUT PARAMETER
  • DSIN
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   50
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
     DSIN(i) := label ^ value   for i = 0,1,2,3,4,...
                    this can be a ';'-delimited string of field attribute 
                    names or individual field attribute names
     
                    Examples: DSIN(i)="ATT^LABEL;TYPE;GLOBAL LOCATION;"
                              DSIN(i)="ATT^SPECIFIER"
                              DSIN(i)="ATT^*" - the '*' means get all field 
                                       attrib
     
       FIELD - req - field number or field name
                     Examples: DSIN(i)="FIELD^.01"
     
                               DSIN(i)="FIELD^.01;.02;.03;.09"
                               DSIN(i)="FIELD^.01:.09"
                               DSIN(i)="FIELD^.01;.02;.03;1:9;99"
                     Field numbers (or names) can be separated by ';'
                     An inclusive range of field numbers is separated by ':'
     Label can be one of five values:
       FILE - req - file (or subfile) number or file name
     
       FLAG - opt - N or <null>   - default value is <null>
                    if FLAG["N" - do not return attributes which are <null>
     
        ATT - req - list of field attributes to return
    
RETURN PARAMETER DESCRIPTION
 On error or problems, return List[0] := -1^message
 
 Else, return
   List[i] := field # ^ attribute name ^ attribute value
     for i = 0,1,2,3,4,...
 
 Attribute value will be a line of text if the field attribute is a word
 processing type.