DSIYUT01 XREFBREC SCH UP DOWN

TITLEVALUE
NAMEDSIYUT01 XREFBREC SCH UP DOWN
DESCRIPTIONXREFBREC

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
TAGXREFBREC
ROUTINEDSIYUT01
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERMOVE
DESCRIPTIONMOVE

1 or Blank: Move forward through file
-1 Move backward through file
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH2

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERNOREC
DESCRIPTIONNOREC

Number of records to return for each call, default is 1000
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH4

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERSCHTERM
DESCRIPTIONSCHTERM

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
of the return)
- For a backward search, the GUI supplies the first record (second piece
of the return)
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH30

INPUT PARAMETERSSEQUENCE NUMBER4
INPUT PARAMETERFILE
DESCRIPTIONFILE

Number of the file to search through
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH10

INPUT PARAMETERSSEQUENCE NUMBER5
INPUT PARAMETERFIELD
DESCRIPTIONFIELD

Additional field to add to the return if the .01 field is not the name of
the record.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH10

RETURN VALUE TYPEGLOBAL ARRAY
RETURN PARAMETER DESCRIPTIONRETURN PARAMETER

DSIYRET(1)="0^ If there are warnings/no data
DSIYRET(1)="-1^ If there are errors
DSIYRET(#)=IEN ^ Field .01 Value ^ Additional FIELD value (if specified)
AVAILABILITY
INACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED