IBM Support

Got COBOL? Bet you didn't know you could do THIS in COBOL

Forum/discussion group


Presentation material for SHARE session 1541.
We will discuss a number of new features, functions and actions that you can take using Enterprise COBOL and LE that were not possible in earlier environments. Features such as dynamic storage allocation, dynamic file allocation, bit manipulation, new callable services, displaying hex data as printable, etc


The presentation also refers to the following examples:

  • Handlem2 is the General Condition Handler that contains the dynamic allocation, variable length file coding and LE callable services examples
  • SSRANGE is the program that abended with USRHDLR(,HANDLEM2) in effect
  • OPENIT is the program that can open any file with fixed records
  • CALLOPN is the program that called OPENIT for different files
  • System is the program that got Operating System information, including the source for program SHOWHEX
  • Bitcheck is the COBOL program that can look at bits using math

Related information

What's new in Enterprise COBOL for z/OS V4.1
Migrating and exploiting Assembler with LE
XML and COBOL and application modernization
Migrating to COBOL compilers under LE
What's new in Enterprise COBOL Version 4.2


Original publication date


Document information

More support for: Enterprise COBOL for z/OS

Software version: 3.1, 3.2, 3.3, 3.4, 4.1, 4.2

Operating system(s): z/OS

Reference #: 7009580

Modified date: 08 March 2011