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 

Load utility DSNUTILB only loading one table per *JOB*

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


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Wed May 04, 2011 1:22 pm    Post subject: Load utility DSNUTILB only loading one table per *JOB* Reply with quote

Hi All,

I'm completely baffled by the LOAD utility. I have 3 small tables to load, so in batch call DSNUTILB with 3 LOAD statements with REPLACE.

The output statements say the tables were all loaded, including numbers of records, messages about indexes etc... But only the last one has records in it. If I execute 3 separate job steps, the same thing happens. Only the last one has records in it. But, if I execute only 1 statement (any of the 3), it works fine and that table is loaded.

The doc clearly says that the LOAD utility is used to "load one or more tables"

Is there some magic to getting the LOAD utility to correctly update more than 1 table per JOB?
Thanks
_________________
New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html.
Back to top
View user's profile Send private message Visit poster's website
kolusu
Site Admin
Site Admin


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

PostPosted: Wed May 04, 2011 1:27 pm    Post subject: Reply with quote

semigeezer,

It depends on the type of Tablespace. Partitioned?

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Wed May 04, 2011 2:22 pm    Post subject: Reply with quote

I'm not sure. I'm new to this (no site help) so I'm not sure where to look for that. I found that I should (?) have 1 load statement with multiple INTO TABLEs but I the error messages then say that to use INDDN on each table I need PART integer and I can't seem to figure that out (any value I give there seems to be invalid).

I have a job that recreates these tables using INSERT statements but it takes forever to run so I was hoping to make this quicker.

Sorry I'm not providing much info -- I just don't know what to look for
_________________
New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html.
Back to top
View user's profile Send private message Visit poster's website
kolusu
Site Admin
Site Admin


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

PostPosted: Wed May 04, 2011 3:17 pm    Post subject: Reply with quote

semigeezer,

I assuming you are using REPLACE YES option to load the tables. Change that to LOAD RESUME and you should be fine with the data in all the tables.

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Fri May 06, 2011 1:04 am    Post subject: Reply with quote

I'll give it a try tomorrow. Thanks
_________________
New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html.
Back to top
View user's profile Send private message Visit poster's website
schintala
Beginner


Joined: 18 May 2005
Posts: 108
Topics: 31
Location: USA

PostPosted: Tue May 10, 2011 1:49 pm    Post subject: Reply with quote

Just curious, are those tables are in one table space as segmented. If it so, you may have to change load control card to load them properly. Looks to me those tables are in one table space. Check it out.
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