Set Century (CEESCEN) API


  Required Parameter:


  Omissible Parameter:


  Service Program Name: QLEAWI

  Default Public Authority: *USE

  Threadsafe: Yes

The Set Century (CEESCEN) API sets the century within which 2-digit year values are assumed to lie. Use it in conjunction with CEEDAYS or CEESECS when processing date values that contain 2-digit years (in the YYMMDD format), and when the ILE default century interval does not meet the requirements of a particular application.


Authorities and Locks

None.


Required Parameter

century_start (input)
An integer between 0 and 100. A value of 80 (the ILE default) means all 2-digit years lie within the 100-year window starting 80 years before the system date. For example, in 1990, all 2-digit years are assumed to represent dates between 1910 and 2009, inclusive.

Omissible Parameter

fc (output/optional)
A 12-byte feedback code passed by reference. If specified as an argument, a condition token is returned to the calling procedure. If not specified and the requested operation was not successfully completed, the condition is signaled to the condition manager.

Feedback Codes and Conditions



API introduced: V2R3

[ Back to top | ILE CEE APIs | APIs by category ]