Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Steps in Compiling a job

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Steps in Compiling a job
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    Post subject:
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

Moderator Team Head


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

PostPosted: Tue Apr 12, 2005 6:17 pm    Post subject: Re: Steps in Compiling a job
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    Post subject: Re: Steps in Compiling a job
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Compiling program in endeavor for tra... RALAKKAL Compuware & Other Tools 4 Mon Jun 05, 2017 8:27 pm
No new posts IDMS/DC-COBOL program - SNAP error wh... rakeshsekar1987 IDMS/ADSO 5 Tue Sep 13, 2016 8:28 pm
No new posts Problem Compiling cobol code with Cob... amitc23 COBOL Programming 2 Wed Aug 24, 2016 1:50 pm
This topic is locked: you cannot edit posts or make replies. Executing JCL specific steps at speci... Shruti Takkar JCL & VSAM 6 Mon Feb 22, 2016 12:39 pm
No new posts How steps execute in Job in case of a... richiewalia JCL & VSAM 4 Tue Jan 12, 2016 12:34 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us