Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
LE-370
LE – 370 Migration Agenda
Overview - What is LE ?
Runtime Options
Migrating to LE
User Experiences
Debugging LE
Summary
LE Overview
What is Language Environment (LE) ?
Why use LE ?
ABTERMENC(ABEND)
(ABEND) is new default for V2R9 and up
DEPTHCONDLMT(0)
(10) is default but (0) is recommended
ERRCOUNT(0)
(0) is default for V2R6 and above
TERMTHDACT(TRACE)
(UADUMP) and DD needed to get system dump
TRAP(ON,SPIE)
(ON,SPIE) is default & recommended
LE Runtime Options for better
performance
ALL31(ON)
(OFF) - default, required if using AMODE 24
LIBSTACK, STACK
Use RPTSTG suggested values to minimize GETMAINs
RPTOPTS(OFF), RTPSTG(OFF)
Avoid generating reports during production !!!
STORAGE(NONE,NONE,NONE)
Using initial values will impact performance
Setting LE Runtime Options
Batch 2:
- Change all applications to STEPLIB to current
runtime
- Install LE in LPA/LNKLST
- Delete STEPLIB to migrate each application
Moving LE into Production
Benefits of Migration
- FETCH for CICS and VM
- Automatic storage optionally allocated above 16M
line
- More powerful condition handling
- OPTIONS(FETCHABLE), no need for Linkage-editor
ENTRY
- CEESTART entry point (even CICS)
- OPTIONAL attribute for OPTIONS(ASSEMBLER)
- PLIRETC and PLIRETV extended to a fullword value
- EXTERNAL ('env-name') for OPTIONS(ASSEMBLER)
- NOT and OR compiler options
PL/I for MVS & VM (contd)..
- Enhanced FETCH
- Allow use of above-the-line storage
- ERROR on-units can now get control for non-PL/I
conditions and system ABENDs
- Lifted restriction on dynamic link -- may specify
the proc
that gets control within a FETCHed load module
- Simplified link-edit
- Helps build more flexible procedures
- Expanded return code (works w/ JCL
enhancement)
- More powerful entry DCL for Assembler
- Help with code page issues when moving source
between platforms
Look and Feel
Pre-initialized environments
LE PICI mechanism
• Mostly compatible with PRE-LE
techniques
LE PIPI mechanism
• "Wave of the future“
Error Environment
SPIE & STAE mapped to TRAP
• TRAP(ON) if either SPIE or STAE
TRAP(OFF)
• Really TRAP “almost” OFF
• Shunt mechanism
Error Handling
Shunting
ESPIE and ESTAE handling
LE CEE3ERP interface
Error Handling (contd)..
Error codes
Uses C Paradigm
PL/I 2xxx may be mapped to 3xxx
Error processing
Post error processing
• may need modification (e.g. GOTO out of
error)
Special situation
Shunting
Testing
Standard scripts
Multi-environment
Assembler, PL/I and/or C mix
Error scenarios
Recursive error conditions
Condition Handling
• Hardware of Software program check
MSGFILE(SYSOUT)
Messages and Reports default to SYSOUT
Debugging with IMS and LE - Dump
files
CEEDUMP
Formatted dump of LE storage/data
Content depends on TERMTHDACT() suboption
SYSUDUMP
If TRMTHDACT(UADUMP) with SYSUDUMP DD
Formatted dump but no formatting of LE
information
SYSMDUMP
If TRMTHDACT(UADUMP) with SYSMDUMP DD
IPCS verbexit LEDATA/CEEERRIP
When reporting problems to IBM L2
Debugging with IMS and LE - control blocks
LRR setup
In the DFSINTxx member of IMS.PROCLIB specify name
CEELRRIN
Specify xx as a suffix on the PREINIT keyword in your
IMS 'bring up' JCL or procedure
LRR - Storage tuning user exit
LE V2R9 & up
LRR - Load Notification User
Exit