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
 
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 How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts User access certification In Mainfram... Virendra Shambharkar All Other Mainframe Topics 4 Tue Oct 03, 2017 12:32 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm

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