DSIYUTL5 PMDISDEC DISPLAY DEC

TITLEVALUE
NAMEDSIYUTL5 PMDISDEC DISPLAY DEC
DESCRIPTIONPMDISDEC
This RPC verifies whether a piece of equipment has Product Maintenance
values set up in either the Equipment Management file, the Equipment
Category File or none at all and returns:

RET(1)="E" If the Equipment Management File ^ENG(6914) has product
maintenance already set up

RET(1)="C" If the Equipment Management File does not have product
maintenance but the piece of equipment's category in ^ENG(6911) has
product maintenance values (then a further RPC will ask the user if they
want to use these values for this piece of equipment)

RET(1)="N" if neither
TAGPMDISDEC
ROUTINEDSIYUTL5
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERIEN
DESCRIPTIONIEN
Required
IEN from Equipment Management File ^ENG(6914)
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH11

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTIONRETURN PARAMETER

DSIYRET(1)="0^Warning" If there are warnings/nothing returned
DSIYRET(1)="-1^Error" If there are errors
DSIYRET(1)=TYPE
TYPE="E" If the equipment has PM setup
TYPE="C" If the Equipment Category has PM setup
TYPE="N" If neither have PM setup
AVAILABILITYPUBLIC
INACTIVEACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED