MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Using Same GSAM Database for 10 Jobs

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS
View previous topic :: View next topic  
Author Message
Siva Kumar Sunku
Beginner


Joined: 17 Aug 2004
Posts: 25
Topics: 14

PostPosted: Thu Oct 14, 2004 9:15 am    Post subject: Using Same GSAM Database for 10 Jobs Reply with quote

Hi,
I am using GSAM files. But According to some constraints in our system, DBA has defined only 10 Databases which we need to use as GSAM databases. Let these Databases be DDB0001,DDB0002 ..... DDB0010.
In my program I need to write 4 output files. So I used DDB0001 to DDB0004.
Sample Lines of Proc for using GSAM are as follows
Code:

(Some DFSRC00..... lines)
//DDB0001 DD DSN=HLQ1.EXTRACT.FILE1.#&NUMB,DISP=MOD
//DDB0002 DD DSN=HLQ1.EXTRACT.FILE2.#&NUMB,DISP=MOD
//DDB0003 DD DSN=HLQ1.EXTRACT.FILE3.#&NUMB,DISP=MOD
//DDB0004 DD DSN=HLQ1.EXTRACT.FILE4.#&NUMB,DISP=MOD


I am calling the above proc overriding NUMB with 1.
The job is working very fine.

Now, in production I need to run 10 jobs in parallel. (Job1 will run with NUMB as 1, Job2 will run with NUMB as 2 and so on Job10 will run with NUMB as 10). Since I am using the same DBD name for GSAM will there be any problem regarding efficiency?
PS:- Here I am using different Datasets, but DBD name is same.

Can any one advice me?
If it is a performance issue i need to ask for other DBD definitions.

Thanks
Siva.




[/code]
Back to top
View user's profile Send private message AIM Address
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu Oct 14, 2004 9:33 am    Post subject: Reply with quote

Siva,

Quote:

Now, in production I need to run 10 jobs in parallel. (Job1 will run with NUMB as 1, Job2 will run with NUMB as 2 and so on Job10 will run with NUMB as 10). Since I am using the same DBD name for GSAM will there be any problem regarding efficiency?


As long as you have different PSB's DBD name does not matter. I am guessing that you have one program and you want to run it as 10 jobs in parallel. You will need 10 psb's to do that. you cannot use the same PSB. You will not have any problem if you are invoking 10 programs with 10 different psb's with the same DBD names.

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Thu Oct 14, 2004 12:53 pm    Post subject: Reply with quote

Many programs can access the same DBD at the same time. Only one can access the PSB if you are running as a BMP. If you are running DL/I, it should not matter. If you are getting data from the same database for all 10 jobs, you should seriously consider your database locking scheme (PROCOPTS, Checkpoint Frequency etc)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS 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


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group