IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Cobol Programming In LE (Language Environment)


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Manas Mazumder

New User


Joined: 25 Jan 2011
Posts: 10
Location: Kolkata(India)

PostPosted: Tue Apr 12, 2011 9:44 pm
Reply with quote

Hi All,

Recently I’m assigned on upcoming project in my organization at LE environment but I’ve no idea on this environment so if pls give me an idea with suitable link for preparation of documentation on it before training then it will be grateful to me.

1) What type of changes or instructions should be followed to write a COBOL programs (IBM Enterprises) in Language Environment and

2) COBOL compiler options as well as the Run-Time LE messages that pertain to Abends

With regards,
Manas Mazumder
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Tue Apr 12, 2011 9:50 pm
Reply with quote

Link to manuals at the top of the forum. Google will find anything else you need that is not there. There is general documentation for LE. The Enterprise Cobol manuals should provide what you want for any compile options you might like to set.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


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

PostPosted: Tue Apr 12, 2011 10:25 pm
Reply with quote

LE ('Language Environment') has been an integral part of COBOL since COBOL/370 (early 1990's). Other later versions of other HLL's have been integrated with LE as well. However, LE compliance in Assembler is a manual process, but that's an entirely different matter for a different day.

Review the following LE Bookshelf (z/OS V1R8.0 Language Environment, which should suffice as a base of reference) and can give you some idea as how to utilize LE Callable Service routines.

These routines are quite powerful as well as more plentiful than COBOL FUNCTIONS.

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves/CEE2BK71

Note - Try not to mix COBOL DATE FUNCTIONS with LE CALLABLE DATE SERVICE routines, as the FUNCTIONS are based upon a start-date of 1601/01/01 (INTDATE(ANSI)), whereas LE routines are based upon a start-date of 1582/10/15 (INTDATE(LILIAN)). Combining these together could results in incorrect calculations.

But, they can be used together, based upon compiler options (refer to INTDATE above), but in-depth research would be required to ensure date-calculation integrity.

It's interesting to realize that (for example), COBOL FUNCTION CURRENT-DATE actually expands (under the covers) to two CALL's (BALR's) to LE Date routines "CEELOCT" and "CEEGMTO". This is also true with other FUNCTION's and other Callable routines. So, if you only need the CURRENT DATE/TIME and could care less about the GMT Offset ("CEEGMTO"), you can save the overhead associated with a second CALL, by calling "CEELOCT" directly.

LE Callable Services routines can be used in both Batch and CICS.

HTH....
Back to top
View user's profile Send private message
Manas Mazumder

New User


Joined: 25 Jan 2011
Posts: 10
Location: Kolkata(India)

PostPosted: Wed Apr 13, 2011 9:46 am
Reply with quote

Thnx Bill.

With regards,
Manas
Back to top
View user's profile Send private message
pawasthi

New User


Joined: 08 Mar 2010
Posts: 15
Location: India

PostPosted: Wed Apr 13, 2011 6:29 pm
Reply with quote

Manas-here is one useful document which you can go for LE:
publibz.boulder.ibm.com/epubs/pdf/igymg202.pdf
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


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

PostPosted: Wed Apr 13, 2011 6:39 pm
Reply with quote

Good find, Pawasthi....

Bill
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top