I would just like to have a better understanding of how the compiling process goes. I really did not go to school to learn about mainframe. I simply taught myself by reading COBOL, JCL, IDMS and TSO books. Listed below is how I understand the compiling process goes:
Get the program from i.e. the production environment.
Compile the program from a production file to i.e a test file.
- when does the link takes place?
- when does the load file created?
Use the newly created load file to run the jcl.
Please feel free to comment, offer suggestions or links to materials that I can read. Thank you so much. I appreciate all your help.
Joined: 26 Apr 2004 Posts: 4650 Location: Raleigh, NC, USA
The programmer creates the source code. The source code is then processed by a compiler, which creates the object code, which is the machine language version of the program. Before the computer can execute the program, the object code has to be run through the linkage editor, which resolves the addresses where instructions and data will be located. The linkage editor uses information in the object code(s) to combine them into a load module. When the program is ultimately called, the load module produced by the linkage editor is loaded into virtual storage. Once the program is loaded, it can be run.
This information is courtesy of the "Introduction to z/OS and the New Mainframe" publication: