DSIC FM DINUM

TITLEVALUE
NAMEDSIC FM DINUM
DESCRIPTIONThis will do a lookup on the inputted file for the requested value. This
is only for files whose .01 field is defined to be a DINUM pointer to a
file. If the lookup value in not in the inputted file, then this will
add that pointer to that file.
TAGDINUM
ROUTINEDSICFM02
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERFILE
DESCRIPTIONThis is the file number of the DSS file which has a .01 DINUM'd field
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH20

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERIEN
DESCRIPTIONThis is the ien of the pointed to file. If the .01 field is not a
pointer field then this parameter should not be passed when trying to add
a new entry to the file.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH20

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERVAL
DESCRIPTIONThis is the external value of the .01 field. If the .01 field is a
pointer field, then this would be some external lookup value for the
pointed to file. If the .01 field is not a pointer, then this must
numeric.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH80

INPUT PARAMETERSSEQUENCE NUMBER4
INPUT PARAMETERIENS
DESCRIPTIONThis field is only valid if you are trying to add a DINUM'd value to a
multiple in the FILE. The syntax of iens is ,S1,S2,S3, See M
programmers for precise syntax to use if you need this.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH30

RETURN VALUE TYPESINGLE VALUE
RETURN PARAMETER DESCRIPTIONReturn the internal entry number (ien) of the item looked up or added.
On error, return -1^error message
AVAILABILITYAGREEMENT
INACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED