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 

Help required in load-replace on partitioned table

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
haseen_mohammed
Beginner


Joined: 20 Feb 2006
Posts: 27
Topics: 14

PostPosted: Fri Feb 16, 2007 3:57 am    Post subject: Help required in load-replace on partitioned table Reply with quote

Hi,

I have a table with two partitions. The data for these two partitions come in two seperate files and i have to load them seperately using two jobs which use BMCLOAD (load-replace).

When we load the first file to partition no 1 . it loads properly clearing the data . After that when I run the second job to load data to partition no 2 the entire data is gettin cleared out(which is loaded by first job) and only the data of partition no 2 will be present.

I know that this issue can be solved using load-resume for the second load job.But heard its less efficient since BMC will scan through the full table and IBM utility is better.

Is there anyway I can do a load-replace on a particular partition alone.

Any inputs on this will be of great help ...

TIA,
Haseen
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Fri Feb 16, 2007 7:23 am    Post subject: Reply with quote

haseen_mohammed,

Did you specify the partition number in the load card?

ex:

Code:

LOAD DATA LOG NO INDDN SYSREC00 INTO TABLE 
     your table_name PART 1


will load in partition 1 without effection any other partitions.

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
haseen_mohammed
Beginner


Joined: 20 Feb 2006
Posts: 27
Topics: 14

PostPosted: Fri Feb 16, 2007 10:32 am    Post subject: Reply with quote

Hi,

Thanks for the response ...

One of my fren came up with a solution
LOAD DATA INDDN SYSREC RESUME YES LOG NO
COPY YES DISCARDS 1
INTO TABLE XXXXXX.TABLE_NAME PART 2

its workin now...

but just wanted to know the details.. wat each thing stands for..even he is not sure..

Is this using Load - Resume ?
It seems so..

If you can jus briefly tel me wat s t for ..it ll b of great help ..
Can you tel me if there is any efficiency difference..
Just curious...

Thanks a lot
Haseen
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Fri Feb 16, 2007 10:58 am    Post subject: Reply with quote

haseen_mohammed,

check this link which explains all the options of LOAD

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DSNUGH13/2.12.1.2?SHELF=&DT=20020826194002&CASE=

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


Joined: 20 Feb 2006
Posts: 27
Topics: 14

PostPosted: Sat Feb 17, 2007 3:23 am    Post subject: Thanks Reply with quote

Thanks a lot Kolusu
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 -> Database 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