DSIYDEX GETFD (4571)    REMOTE PROCEDURE (8994)

Name Value
NAME DSIYDEX GETFD
TAG GETFD
ROUTINE DSIYDEX
RETURN VALUE TYPE ARRAY
WORD WRAP ON TRUE
DESCRIPTION
DSIYDEX GETFD - Returns data array containing the fields for a specified 
      (3) IEN2 - 2nd level, specific to a field multiple.
data exchange.  The data exchange directs the process to a routine that 
fetches the data fields for a specified file and IEN (internal entry 
number).
 
The level of the requested data dictates if one or two IENs is required.
 
Input (1) File Reference - the file # or the file name
      (2) IEN1 - top level record in the file.
INPUT PARAMETER
  • DSIYFREF
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    File Reference - the file # or the file name.
    
  • DSIYN1
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   16
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Pass the internal entry number top level record in the file.
    
  • DSIYN2
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   10
    REQUIRED:   YES
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    Optional but null must be passed if not needed.
    Pass the internal entry number for the 2nd level field multiple.
    
  • DSIY2
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   16
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    DSIY2 input for 2nd level, field multiple.
     
    FILE,IEN1,FLD#,IEN2
         (3) IEN2 - 2nd level, specific to a field multiple.
    
RETURN PARAMETER DESCRIPTION
Returns array containing the field name and the current value.
arr(1)="field-1 name^value"
arr(2)="field-1 name 'EXT'^value"
arr(3)="field-2 name^value"
arr(4)="field-2 'EXT' name^value"