DSIYUTL2 MFGSCH MFG NAME SCH (3841)    REMOTE PROCEDURE (8994)

Name Value
NAME DSIYUTL2 MFGSCH MFG NAME SCH
TAG MFGSCH
ROUTINE DSIYUTL2
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY PUBLIC
INACTIVE ACTIVE
WORD WRAP ON TRUE
VERSION 1
DESCRIPTION
MFGSCH
Searches the Manufacturer File (^ENG("MFG"))  file # 6912 
Returns the NOREC number of records based on both the XREF "B" (name
of manufacturer) and XREF "C" (synonym of manufacturer)
Will search backwards or forwards depending on setting of MOVE
variable.
INPUT PARAMETER
  • MOVE
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   2
    REQUIRED:   NO
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    MOVE
    Not Required - defaults to "1"
    Valid values are "1" or "-1"
    Tells the RPC whether to move forward of backward by the NOREC
    
  • NOREC
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   4
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    NOREC
    Number of records to return.
    Not Requied - will default to 40 if nothing sent
    Valid values are "" and 0-99
    Tells the RPC how many records to return
    
  • SCHTERM
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    SCHTERM
    Not Required - Defaults to "" if nothing sent (starts at beginning of 
    file)
    Tells the RPC where to start searching both in the "B" and "C" cross
    reference files
    
  • SCHTXT
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    SCHTXT
     
    If set to 1", search will search within each field for this value.
    
RETURN PARAMETER DESCRIPTION
RETURN PARAMETER
Data is returned in the global array 
DSIYRET(NAME)=IEN^NAME^Synonym info if it exists
 
DSIYRET(1)="-1^Error Message" if there is an error
DSIYRET(1)="0^Warning Message" if there is a warning