View previous topic :: View next topic
|
Author |
Message |
Susanta
Active User
Joined: 17 Nov 2009 Posts: 126 Location: India
|
|
|
|
Hi,
I require to know the cobol i am using is LE or Non LE .
How to find out this .
Please help.
Thanks |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Compile a program. Copy the first line of any page with the compiler name and version information and post it (using CODE tag) here.
Broadly speaking, Enterprise COBOL programs use LE, period. Earlier compilers may or may not use LE, depending on how old the compiler is. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Adding to Robert's reply, COBOL/370 and greater had LE integrated as part of the compiler, so this is a given.
LE usage in OS/VS COBOL and VS/COBOL (the predecessors to COBOL/370) was optional and site specific.
Bill |
|
Back to top |
|
|
Jose Mateo
Active User
Joined: 29 Oct 2010 Posts: 121 Location: Puerto Rico
|
|
|
|
LE is the runtime language environment which includes callable services. LE handles the runtime options and language services for your COBOL program. You can tell if a program was compiled using the LE environment by listing the object phase module and locating the characters 'CEE' at the beginning of the module. You will also see towards the end of the module LE service routines as CEEBINIT and CEESTART. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Here's a programmatic method of determining whether LE is active or not in the given LPAR -
www.ibmmainframes.com/viewtopic.php?p=120571&highlight=#120571
As a failsafe, change the sub-program's base register from R12 to R3 as R12 contains the address of the CAA (Common Anchor Area) providing the caller is LE compliant.
Bill |
|
Back to top |
|
|
Susanta
Active User
Joined: 17 Nov 2009 Posts: 126 Location: India
|
|
|
|
As Jose said, I found LE service routines as CEEBINIT and CEESTART in my load module. That means i am working on LE enabled cobol. |
|
Back to top |
|
|
Susanta
Active User
Joined: 17 Nov 2009 Posts: 126 Location: India
|
|
|
|
Robert Sample wrote: |
Compile a program. Copy the first line of any page with the compiler name and version information and post it (using CODE tag) here.
Broadly speaking, Enterprise COBOL programs use LE, period. Earlier compilers may or may not use LE, depending on how old the compiler is. |
Hi
It is like below as i got form endevor listing.
PP 5655-G53 IBM Enterprise COBOL for z/OS 3.4.1
Is it LE or Non LE ?
Thanks |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
Broadly speaking, Enterprise COBOL programs use LE, period. |
Suggest you re-read the post you quoted from Robert. . . I added the emphasis. |
|
Back to top |
|
|
|