Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
LE or Non LE Cobol

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
Susanta

Active User


Joined: 17 Nov 2009
Posts: 125
Location: India

PostPosted: Wed Dec 22, 2010 4:18 pm    Post subject: LE or Non LE Cobol
Reply with quote

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
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Wed Dec 22, 2010 7:46 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2504
Location: Atlanta, Georgia, USA

PostPosted: Wed Dec 22, 2010 8:12 pm    Post subject: Reply to: LE or Non LE Cobol
Reply with quote

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
View user's profile Send private message
Jose Mateo

Active User


Joined: 29 Oct 2010
Posts: 111
Location: Puerto Rico

PostPosted: Wed Dec 22, 2010 8:38 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2504
Location: Atlanta, Georgia, USA

PostPosted: Thu Dec 23, 2010 5:51 am    Post subject: Reply to: LE or Non LE Cobol
Reply with quote

Here's a programmatic method of determining whether LE is active or not in the given LPAR -

http://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
View user's profile Send private message
Susanta

Active User


Joined: 17 Nov 2009
Posts: 125
Location: India

PostPosted: Thu Dec 23, 2010 10:35 am    Post subject:
Reply with quote

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
View user's profile Send private message
Susanta

Active User


Joined: 17 Nov 2009
Posts: 125
Location: India

PostPosted: Fri Dec 24, 2010 11:38 am    Post subject:
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Dec 24, 2010 11:48 am    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts ALPHABETIC check in COBOL vidyaa COBOL Programming 8 Thu Aug 17, 2017 7:13 pm
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us