IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Steps in Compiling a job


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Mayos

New User


Joined: 11 Apr 2005
Posts: 16

PostPosted: Tue Apr 12, 2005 6:08 am
Reply with quote

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
View user's profile Send private message
priya

Moderator


Joined: 24 Jul 2003
Posts: 568
Location: Bangalore

PostPosted: Tue Apr 12, 2005 8:30 am
Reply with quote

Code:
Source Pgm -> COMPILER -> Object Pgm -> LINKER -> Load Module -> LOADER -> Output
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Apr 12, 2005 6:17 pm
Reply with quote

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
View user's profile Send private message
Mayos

New User


Joined: 11 Apr 2005
Posts: 16

PostPosted: Wed Apr 13, 2005 5:17 pm
Reply with quote

Thank you so much. You all have been a great help!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts CA7 deleting files in steps after job... CA Products 4
No new posts Identify the count from two diffrent ... DFSORT/ICETOOL 19
No new posts SMF logging in RDT server - Steps inv... PL/I & Assembler 1
No new posts Error when compiling a REXX exec with... CLIST & REXX 2
No new posts Compiling program in endeavor for tra... Compuware & Other Tools 4
Search our Forums:

Back to Top