DSIYUT01 XREFBREC SCH UP DOWN (4071)    REMOTE PROCEDURE (8994)

Name Value
NAME DSIYUT01 XREFBREC SCH UP DOWN
TAG XREFBREC
ROUTINE DSIYUT01
RETURN VALUE TYPE GLOBAL ARRAY
WORD WRAP ON TRUE
DESCRIPTION
XREFBREC
 
Generic search to search through XREF B of the global specified.
 
This search works with the component which supplies a "~" on the first 
search and no "~" on subsequent searches.  
 
This search accommodates rolling up/down through the data
INPUT PARAMETER
  • MOVE
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   2
    REQUIRED:   NO
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    MOVE
     
    1 or Blank:  Move forward through file
    -1           Move backward through file
    
  • NOREC
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   4
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    NOREC
     
    Number of records to return for each call, default is 1000
    
  • SCHTERM
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    SCHTERM
    of the return)
     - For a backward search, the GUI supplies the first record (second piece 
    of the return)
     
    Starting search term.
     
    For first search, it is assumed the component will provide the seed of 
    the search (i.e., if searching for ABC, the component supplies "AB~")
     
    For subsequent searches, it is assumed that:
     - For a forward search, the GUI supplies the last record (second piece 
    
  • FILE
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   10
    REQUIRED:   YES
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    FILE
     
    Number of the file to search through
    
  • FIELD
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   10
    REQUIRED:   NO
    SEQUENCE NUMBER:   5
    DESCRIPTION:   
    FIELD
     
    Additional field to add to the return if the .01 field is not the name of 
    the record.
    
RETURN PARAMETER DESCRIPTION
RETURN PARAMETER
 
DSIYRET(1)="0^<Warning Message>    If there are warnings/no data
DSIYRET(1)="-1^<Error Message>     If there are errors
DSIYRET(#)=IEN ^ Field .01 Value ^ Additional FIELD value (if specified)