Home      Mainframe Forum      Mainfarme Tutorials      IBM Manuals      Mainframe Interview Questions      Mainframe Books      IT News     SiteMap     Downloads


     
 
MAINFRAME - TIP OF THE DAY : If you want to make your VSAM data set read-only, use INHIBIT with ALTER command. E.g. ALTER XXX.XX.DATA INHIBIT ALTER XXX.XX.INDEX INHIBIT

Google
 
Web mainframegurukul.com

Welcome to the mainframegurukul forums.

You are currently viewing our mainframe forums as a guest which gives you limited access to view most discussions, articles. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support at admin@mainframegurukul.com


IMS and DB2 in the same program......

 
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> DB2 SQL - DB2 PROGRAMMING
  View previous topic :: View next topic  
Author Message
bbersani
Member


Joined: 14 Apr 2006
Posts: 1

PostPosted: Fri Apr 14, 2006 12:13 am    Post subject: IMS and DB2 in the same program...... Reply with quote

Does anyone out there know how to set up the JCL to run a program that contains both IMS and DB2 statements? There MUST be a way!!
Back to top
View user's profile Send private message Yahoo Messenger

arrbee
Active Member


Joined: 24 Feb 2006
Posts: 147

PostPosted: Fri Apr 14, 2006 8:01 am    Post subject: Reply with quote

You need to use DFSRRC00 utility for IMS/DB - DB2 program.

Code:

//XX050    EXEC PGM=DFSRRC00,
//             PARM=(BMP,                                         
//             XXXXX400,        PROGRAM NAME                     
//             XXXXX400,        PSB NAME                         
//             ,                TRANSACTION IN NAME               
//             ,                TRANSACTION OUT NAME             
//             X00000,          CNTL PGM OPT,SPIE,TEST ADD,DIRCA 
//             ,                PRELOAD OPTION                   
//             1,               TIMER                             
//             ,                PUT THE CHECKPOINT ID ON THIS LINE
//             ,                PARALLEL OPERATION               
//             ,                CPU TIME                         
//             ,                FAST PATH DATABASES               
//             ,                FAST PATH PAGE-FIXED BUFFERS     
//             XXX2,            SYSTEM ID                         
//             XXXXXX1,         APPLICATION GROUP NAME           
//             DXXX)            DB2 REGION                       


HTH.
_________________
Arr Bee
-------------
?My joy in learning is partly that it enables me to teach? - Seneca(Roman philosopher, mid-1st century AD)
Back to top
View user's profile Send private message Send e-mail
cartigaELangovan
Member


Joined: 12 Nov 2008
Posts: 3
Location: chennai

PostPosted: Tue Nov 18, 2008 11:27 am    Post subject: Reply with quote

Hi,

Can anybody point out some of the differences between IMS and DB2. Also code if anything special about IMS that mainframes miss because of IMS elimination,..?


Thanks,
Cartiga
Back to top
View user's profile Send private message Send e-mail
Anuj Dhawan
Moderator


Joined: 09 Aug 2008
Posts: 949
Location: Mumbai, India

PostPosted: Sun Nov 23, 2008 4:32 am    Post subject: Reply with quote

Hi,
Quote:
[quote="cartigaELangovan"]Can anybody point out some of the differences between IMS and DB2.
IMS is an Hirercical Database while on the other hand DB2 is a relational Database. This is on very high level basic deference between them - if you are looking for something specific you need to tell us that specific question.


Quote:
Also code if anything special about IMS that mainframes miss because of IMS elimination,..?
Sorry not trying to sound rude but I didn't get any meaning out of this, please start over & reframe your question, Thanks.
_________________
Anuj


//MYWALLET EXEC PGM=SPOUSE
//SYSIN DD DSN=MYWALLET.ALL,DISP=SHR
//SYSOUT DD DUMMY


Last edited by Anuj Dhawan on Wed Nov 26, 2008 3:19 am; edited 1 time in total
Back to top
View user's profile Send private message
cartigaELangovan
Member


Joined: 12 Nov 2008
Posts: 3
Location: chennai

PostPosted: Tue Nov 25, 2008 2:57 pm    Post subject: Reply with quote

Hi Anuj,
Sorry for my unclear question. Can you please explain about the DB2 PLAN?


Thanks,
Cartiga
Back to top
View user's profile Send private message Send e-mail
Vamsi99
Active Member


Joined: 05 Nov 2008
Posts: 110

PostPosted: Tue Nov 25, 2008 4:44 pm    Post subject: DB2 Plan Reply with quote

Hi Cartiga,

Please start a new topic in DB2 forum. This is a JCL forum.
It will be helpful, if we start a new topic for each question.
Back to top
View user's profile Send private message
Anuj Dhawan
Moderator


Joined: 09 Aug 2008
Posts: 949
Location: Mumbai, India

PostPosted: Wed Nov 26, 2008 3:21 am    Post subject: Reply with quote

Hi Cartiga,

you are getting into DB2 related details, I would suggest to follow the post from Vamsi99, Thanks.
_________________
Anuj


//MYWALLET EXEC PGM=SPOUSE
//SYSIN DD DSN=MYWALLET.ALL,DISP=SHR
//SYSOUT DD DUMMY
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> DB2 SQL - DB2 PROGRAMMING All times are GMT + 5 Hours
Page 1 of 1



 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts two reports to compare , both different format - URGENT 1 ar3 1760 Wed Jul 15, 2009 7:57 pm
Frank Yaeger View latest post
No new posts If both the JOBCAT & STEPCAT statements are coded in a s 1 Krishna 2377 Tue May 12, 2009 6:43 pm
Krishna View latest post
No new posts Commit both in DB2 and MQ 3 jackie 3003 Fri Jul 27, 2007 3:52 pm
dbzTHEdinosauer View latest post
No new posts How to use both lower and upper case letters in cobol? 1 Divya 5160 Fri Mar 09, 2007 10:27 pm
Veera View latest post
No new posts Stop Run in both called and calling programs !!! 2 arrbee 4694 Fri Mar 10, 2006 12:13 pm
jaydeeppal View latest post
 



This widget requires Flash Player 9 or better








Go to top of the page
 

Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  DB2 INTERVIEW QUESTIONS ||  COBOL INTERVIEW QUESTIONS  ||  JCL INTERVIEW QUESTIONS ||  JCL2 INTERVIEW QUESTIONS ||  VSAM INTERVIEW QUESTIONS ||  CICS INTERVIEW QUESTIONS  ||  Online tutorials ||  Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  SiteMap  ||  Expeditor Tutorial  ||  FILE-AID Tutorial  ||  Changeman Tutorial  ||  COBOL   ||  DB2   ||  JCL  ||  CICS  ||  VSAM  ||  DB2 Interview Questions ( 110 )   || Simple JCL Tutorials  || JCL Tutorial from MainframeGurukul.com   || Simple JCL Tutorial - Chapter1 ;|| Mainframe Forum - Tutorials  || Mainframe Tutorials

Drona Educational Forums - Mainframe Cobol DB2 CICS Board
Powered by phpBB