View previous topic :: View next topic
|
Author |
Message |
Mayos
New User
Joined: 11 Apr 2005 Posts: 16
|
|
|
|
Hello,
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. |
|
Back to top |
|
|
priya
Moderator
Joined: 24 Jul 2003 Posts: 568 Location: Bangalore
|
|
|
|
Code: |
Source Pgm -> COMPILER -> Object Pgm -> LINKER -> Load Module -> LOADER -> Output |
|
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 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:
"http://publibz.boulder.ibm.com?/zoslib/pdf/zosbasic.pdf" |
|
Back to top |
|
|
Mayos
New User
Joined: 11 Apr 2005 Posts: 16
|
|
|
|
Thank you so much. You all have been a great help! |
|
Back to top |
|
|
|