Using Language Environment callable services
Restriction: Language Environment services are not supported for AMODE 64 applications.
This topic provides syntax and examples of Language Environment callable
services, which you can invoke from applications generated with the
following IBM® compiler products:
- IBM z/OS XL C/C++
- C/C++ for MVS/ESA
- IBM SAA AD/Cycle C/370
- Enterprise COBOL for z/OS
- Enterprise PL/I for z/OS
- IBM COBOL for OS/390 & VM
- IBM COBOL for MVS & VM
- IBM PL/I for MVS & VM
You can invoke Language Environment callable
services from assembler programs using the CEEENTRY and associated
macros. While you cannot call these services directly from Fortran programs,
you can use the Fortran routines
AFHCEEN and AFHCEEF to invoke most of these services. (See Fortran Run-time
Migration Guide.) You can use the other languages to perform
these services on behalf of a Fortran program.
Note:
- Customers using this information may not have pre-Language Environment runtime libraries.
- You can use DYNAMIC calls from VS COBOL II programs to Language Environment® Date/Time callable services. You can not use DYNAMIC calls from VS COBOL II programs to other Language Environment callable services. You can not use STATIC calls from VS COBOL II programs to any Language Environment callable services.
- A Language Environment callable service used by application programmers can also be called an application writer interface (AWI).
Language Environment callable services provide functions that pre-Language Environment runtime libraries might not provide. You can use these services alone or with Language Environment runtime options, which customize your runtime environment. For guidelines about writing your own callable services, see z/OS Language Environment Programming Guide.