View previous topic :: View next topic
|
Author |
Message |
Manas Mazumder
New User
Joined: 25 Jan 2011 Posts: 10 Location: Kolkata(India)
|
|
|
|
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 |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
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 |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
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 |
|
|
Manas Mazumder
New User
Joined: 25 Jan 2011 Posts: 10 Location: Kolkata(India)
|
|
|
|
Thnx Bill.
With regards,
Manas |
|
Back to top |
|
|
pawasthi
New User
Joined: 08 Mar 2010 Posts: 15 Location: India
|
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Good find, Pawasthi....
Bill |
|
Back to top |
|
|
|