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

Steps in a compilation JCL


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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

Superior Member


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

PostPosted: Sat Dec 06, 2008 12:59 am
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: 1287
Location: Chennai, India

PostPosted: Sat Dec 06, 2008 8:18 am
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

Superior Member


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

PostPosted: Sat Dec 06, 2008 8:45 am
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.. 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
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

Moderator Emeritus


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

PostPosted: Sun Dec 07, 2008 9:29 am
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 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 How syntax check at Bind time is diff... DB2 5
No new posts Compilation Error in Translation Step. CICS 4
Search our Forums:

Back to Top