Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Cobol Programming In LE (Language Environment)

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

New User


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

PostPosted: Tue Apr 12, 2011 9:44 pm    Post subject: Cobol Programming In LE (Language Environment)
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7307

PostPosted: Tue Apr 12, 2011 9:50 pm    Post subject:
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Tue Apr 12, 2011 10:25 pm    Post subject: Reply to: Cobol Programming In LE (Language Environment)
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.

http://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: 11
Location: Kolkata(India)

PostPosted: Wed Apr 13, 2011 9:46 am    Post subject: Language Environment
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    Post subject: Reply to: Cobol Programming In LE (Language Environment)
Reply with quote

Manas-here is one useful document which you can go for LE:
http://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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Wed Apr 13, 2011 6:39 pm    Post subject: Reply to: Cobol Programming In LE (Language Environment)
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    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 SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm
No new posts Submit job from Cobol with input data abdulrafi COBOL Programming 4 Wed Feb 01, 2017 12:41 pm
This topic is locked: you cannot edit posts or make replies. COBOL Software Development Lead at Fi... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:21 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us