Hello,
can anybody explain to me, when a module is deleted in an IMS message region?
All modules are dynamically loaded.
Normally, I can load and delete a single module A and this has no effect to modules, that are loaded by module A.
But in an IMS messige region (if the "main application program" is not preloaded) all modules are deleted, when the "main application program" is deleted.
Only if a module is loaded more than one time it stays in the main storage.
How does this cascading deletion of modules work?
What is so special with this "main application program", which attribute causes the deletes?
Mike
lifetime of modules in an IMS message region
-
- Posts: 36
- Joined: Mon Feb 28, 2011 4:14 pm
- Skillset: Programmer for over 30 year, Assembler and COBOL
- Referer: found in internet
Re: lifetime of modules in an IMS message region
I found some more information:
The "main application program" is the program defined for the transaction code.
This program is "called" by LINK.
LINK loads the module and branch to it and after get back control, it deletes the program.
Still unclear is for me, why all the other programs loaded and BASR 14,15 are "automatically deleted".
The "main application program" is the program defined for the transaction code.
This program is "called" by LINK.
LINK loads the module and branch to it and after get back control, it deletes the program.
Still unclear is for me, why all the other programs loaded and BASR 14,15 are "automatically deleted".
-
- Posts: 36
- Joined: Mon Feb 28, 2011 4:14 pm
- Skillset: Programmer for over 30 year, Assembler and COBOL
- Referer: found in internet
Re: lifetime of modules in an IMS message region
more information:
the main application program is the first cobol program.
Therefore a LE environment is created and after the GOBACK in the main application program LE environment is deleted.
All programs known by LE are deleted. LE knows all sub programs called from LE programs.
still, I have a question:
We use the APPLFE= parm to get control, when the region starts, before every main application program and on termination of the region.
The APPLFE program is a non LE assembler.
Since we use this APPLFE, the sub program are no longer deleted, I think the LE environment is not deleted any more.
Why?
the main application program is the first cobol program.
Therefore a LE environment is created and after the GOBACK in the main application program LE environment is deleted.
All programs known by LE are deleted. LE knows all sub programs called from LE programs.
still, I have a question:
We use the APPLFE= parm to get control, when the region starts, before every main application program and on termination of the region.
The APPLFE program is a non LE assembler.
Since we use this APPLFE, the sub program are no longer deleted, I think the LE environment is not deleted any more.
Why?
-
- Similar Topics
- Replies
- Views
- Last post
-
- 1
- 2352
-
by Robert Sample
View the latest post
Thu Aug 25, 2022 6:41 pm
-
- 1
- 1332
-
by jcdm
View the latest post
Mon Oct 24, 2022 6:10 pm
-
-
How to identify ASM load modules in a load lib
by Misha786 » Thu May 16, 2024 7:08 pm » in Assembler - 0
- 2336
-
by Misha786
View the latest post
Thu May 16, 2024 7:08 pm
-
-
- 13
- 8404
-
by valeca
View the latest post
Fri Sep 30, 2022 11:22 pm
-
-
SYNCSORT DATASORT message SYT076E
by f1_lemaner » Thu Dec 23, 2021 11:12 pm » in DFSORT/ICETOOL/ICEGENER - 5
- 1861
-
by f1_lemaner
View the latest post
Fri Dec 24, 2021 2:23 pm
-