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

How to run a DB2 program in mainframes


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
priya

Moderator


Joined: 24 Jul 2003
Posts: 568
Location: Bangalore

PostPosted: Tue Feb 17, 2004 8:46 pm
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
mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 237
Location: USA

PostPosted: Thu Feb 19, 2004 11:36 am
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
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts SH256/MD5 Checksum in Mainframes JCL JCL & VSAM 14
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
Search our Forums:

Back to Top