Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is a "Load Module"?

I've been reading about linking and loading (one of OS topics, not specific to any language), and I've come across this term "Load Module" without any previous reference to it. From what I understand about the way it has been used, it seems like a final product after compilation and linking (an executable perhaps). I tried google, the term seems to be related to COBOL language and no specification that it is specific to COBOL, so, I'm posting this here to know if any of you guys heard this before and enlighten me about it.

like image 624
pasha Avatar asked Mar 09 '23 12:03

pasha


1 Answers

As per IBM's "MVS Program Management: User's Guide and Reference" a load module is

An executable program stored in a partitioned data set program library.

So you are right that it's the final output of the Binder (formerly known as Linkage Editor) that can be executed by z/OS.

Some additional remarks:

  • The term is not limited to COBOL, the Binder-input are object-modules that can be generated by many of the available compilers on z/OS, i.e. C,COBOL,PL/I, compiled REXX or even Assembler (where there is no compiler but an assembler).
  • When strictly following the definition it is important to note the term "partitioned data set program library" in the above quote. An executable program stored in a PDSE or z/OS Unix file is called a "program object". But you will often see "load module" used for those as well since many people just use the old term they know and don't bother to make a difference (like using "Linkage Editor" when talking about the Binder)
like image 107
piet.t Avatar answered Mar 16 '23 11:03

piet.t