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 a compilation JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
arindambanerjee

New User


Joined: 30 Jun 2007
Posts: 39
Location: India

PostPosted: Sat Dec 06, 2008 12:46 am    Post subject: Steps in a compilation JCL
Reply with quote

can anyone please outline the steps involved and the significance in compiling a Cobol program and a Cobol DB2 program?
Back to top
View user's profile Send private message

Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Sat Dec 06, 2008 12:59 am    Post subject:
Reply with quote

Hi,

These type of JCLs are standard & specific to shops you work for and usually shops are using version control tools these days, such as Change Man...
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Sat Dec 06, 2008 8:18 am    Post subject: Reply to: Steps in a compilation JCL
Reply with quote

Hi,

I think OP just wanted to know the steps and not the exact JCL.

Quote:
can anyone please outline the steps involved and the significance in compiling a Cobol program and a Cobol DB2 program?


for a normal COBOL program:

- Compile and create an object module (using compilers )
- Link the object module to create an executable load

for a COBOL - DB2 program

- DB2 Precompile (DBRM created)
- Compile the modified source code
- Link-edit to create the load module
- DB2 Bind to create an access path

For more information on all these steps please read the forum manuals.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Sat Dec 06, 2008 8:45 am    Post subject:
Reply with quote

Hi Aaru,

If so
Quote:
OP just wanted to know the steps and not the exact JCL.
then may be looking at this link would help.. http://www.ibmmainframes.com/jcls.php . Checking COMPILE JCL, RUN JCL & SAMPLE PROGRAM WITH JCLS might help.
Back to top
View user's profile Send private message
arindambanerjee

New User


Joined: 30 Jun 2007
Posts: 39
Location: India

PostPosted: Sun Dec 07, 2008 9:21 am    Post subject: Reply to: Steps in a compilation JCL
Reply with quote

Thanks for your discussions. Actually the thing is that that could you please tell me like the way given below:
For simple COBOL-->
IGYWCL,-->It does compilation, what parameters are passed and what it does.
IEWL(if I am not wrong)-->it link edits and create the load module, but how it does so.
Similarly for COBOL Db2 and COBOL CICS.
If it can be discussed in this manner it would be of great help.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sun Dec 07, 2008 9:29 am    Post subject:
Reply with quote

Hello,

If you post jcl you are using, we can explain what your jcl does.

Quote:
what parameters are passed and what it does.
The parameters passed to the compiler are site-specific and developers need to use the standard setup for the system they are working on. All of the parameters are described in the documentaton availabel via the "IBM Manuals" link at the top of the page. There is no reason to post them all here - it is a long list.

Yes, IEWL is the link editor. Simly said, the link editor resolves all of the resources that were not known or should not be resolved at compile time. It turns object modules into load modules.

The same is true for DB2 anc CICS probrams except they have pre-compilers that resolve db2 and cics EXECs before the compiler is run. In db2 programs, there is also a subsequent bind process.
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 Compilation Error in Translation Step. amitc23 CICS 4 Tue Mar 01, 2016 12:24 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 IGYDS5000-U and IGYDS5062-U abend in ... Alks ABENDS & Debugging 5 Mon Jan 18, 2016 9:56 pm
No new posts How steps execute in Job in case of a... richiewalia JCL & VSAM 4 Tue Jan 12, 2016 12:34 pm
No new posts Reason for DSNH204I error message in ... srinivasulu.p DB2 3 Mon Nov 17, 2014 12:00 am

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