U@GETCALDESC

U@GETCALDESC gets the calendar description associated with a named calendar and returns it to the caller. See Century Parameter Processing.

Module CALRTNS

Required Input

Field Type and length Definition
E@DRCALENDAR A 15 Name of calendar.

Output

Field Type and length Definition
E@DRCALENDDES A 30 Calendar description or an error message.
E@DRERRORNBR N 9

Error number.

See Error Number

E@DRERRORVAR A 20 Input parameter is in error.

Programming Example

  EVAL      E@DRCALENDAR   = F1@ACGCLN     
   CALLP     U@GETCALDESC                  Get Calendar Desc
   IF        E@DRCALENDDES = PAR00WS@CLNERR    
   EVAL      E@ERRORNBR     = 204            
   EVAL      E@FIELDNBR     = F1FN@ACGCLN