Sample list of Language Environment callable services

The following table shows some examples of the callable services that are available with Language Environment®. Many more services are available than those listed.

Table 1. Language Environment callable services
Function type Service Purpose
Condition handling CEEHDLR To register a user condition handler
CEESGL To raise or signal a condition
CEEMRCR To indicate where the program will resume running after the condition handler has finished
Dynamic storage CEEGTST To get storage
CEECZST To change the size of a previously allocated storage block
CEEFRST To free storage
Date and time CEECBLDY To convert a string that represents a date into COBOL integer date format, which represents a date as the number of days since 31 December 1600
CEEQCEN, CEESCEN To query and set the Language Environment century window, which is valuable when a program uses two digits to express a year
CEEGMTO To calculate the difference between the local system time and Greenwich Mean Time
CEELOCT To get the current local time in your choice of three formats
Math CEESIABS To calculate the absolute value of an integer
CEESSNWN To calculate the nearest whole number for a single-precision floating-point number
CEESSCOS To calculate the cosine of an angle
Message handling CEEMOUT To dispatch a message
CEEMGET To retrieve a message
National language support CEE3LNG To change or query the current national language
CEE3CTY To change or query the current national country
CEE3MCS To obtain the default currency symbol for a given country
General CEE3DMP To obtain a Language Environment formatted dump
CEETEST To start a debugging tool, such as z/OS® Debugger

Related references  
Language Environment Programming Reference