Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ 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
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    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

mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 238
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts Are there any Freeware utilties for i... johnmull IBM Tools 2 Wed Dec 21, 2016 8:29 am
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us