Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum 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: 126
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: 8550
Location: Dubuque, Iowa, 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: 120
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: 126
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: 126
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: 19254
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 CALL statement in COBOL for VSE Kirthishine COBOL Programming 1 Fri Jun 26, 2020 12:12 pm
No new posts Question for Cobol Report Writer jackzhang75 COBOL Programming 3 Wed May 27, 2020 4:35 am
No new posts Compare multiple files using JCL/Rexx... tanvi110788 JCL & VSAM 4 Tue May 19, 2020 5:47 pm
No new posts Need example for CALL 'ISRSUPC' in COBOL Sue Adams COBOL Programming 2 Thu May 14, 2020 5:32 am
No new posts COBOL Student learning COBOL File Han... torrind COBOL Programming 3 Sat May 09, 2020 3:40 am

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