Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
How to run a DB2 program in mainframes

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
Author Message
priya

Moderator


Joined: 24 Jul 2003
Posts: 624
Location: Bangalore

PostPosted: Tue Feb 17, 2004 8:46 pm    Post subject: How to run a DB2 program in mainframes
Reply with quote

Can anybody explain how can I run my DB2 program in mainframe?
Back to top
View user's profile Send private message
References
mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 257
Location: USA

PostPosted: Thu Feb 19, 2004 11:36 am    Post subject:
Reply with quote

Hello Priya,

Steps to run the COBOL-DB2 program in mainframes:

1) Code the DB2 program

2) Compile the program (using a JCL with DB2 precompile step)

3) Bind the DBRM to the Plan

4) Use this plan to execute the program using IKJEFT* programs.
Your run jcl will contain folloowing in SYSTSIN

DSN RUN
SYSTEM(your db2 sub-system)
PROGRAM(program-name)
PLAN(plan-name)
LIB(your library)
PARM(any parms)

Hope this helps,

Regards

Mayuresh Tendulkar
Back to top
View user's profile Send private message
johnsingh

New User


Joined: 11 May 2005
Posts: 22

PostPosted: Wed May 25, 2005 4:18 pm    Post subject: Re: How to run a DB2 program in mainframes
Reply with quote

Dear all,
Please, let me know details about to run a cics and db2 program in mainframes.

Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1