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 

Can I insert partial records using Load Utility

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


Joined: 14 Mar 2005
Posts: 38
Topics: 15
Location: Bangalore

PostPosted: Wed Jan 18, 2006 3:08 am    Post subject: Can I insert partial records using Load Utility Reply with quote

Hi All,

My input file contains 100 records. I want to load the data from 51 record onwards, by using Load utility.

Any ideas will be appreciated...

Thanks in advance
Hari
Back to top
View user's profile Send private message Send e-mail MSN Messenger
kolusu
Site Admin
Site Admin


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

PostPosted: Wed Jan 18, 2006 5:07 am    Post subject: Reply with quote

gharidoss,

Run a utility (sort/fileaid/idcams...) step to copy the records from 51 and use that file to load. search for "split" in the utlities forum for examples.

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
Manas Biswal
Intermediate


Joined: 29 Nov 2002
Posts: 382
Topics: 27
Location: Chennai, India

PostPosted: Wed Jan 18, 2006 12:27 pm    Post subject: Reply with quote

gharidoss,

You can also use the WHEN clause in the LOAD utility to filter out the records if they fall within some specific range, but as Kolusu said, the less time consuming method would be to use a sort step before the LOAD utility.

If you want to know more about the WHEN clause, then have a look at the following link -

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DSNUGH10/2.12.1.4?SHELF=&DT=20010216104113&CASE=

Regards,
Manas
_________________
There is no path to peace. Peace is the path.
- Mahatma Gandhi (1869-1948)
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
gharidoss
Beginner


Joined: 14 Mar 2005
Posts: 38
Topics: 15
Location: Bangalore

PostPosted: Thu Jan 19, 2006 12:10 am    Post subject: Reply with quote

Hi All,

Sorry for the late reply.

I can do as suggested by Koulsu and also I verified the Link. It's very useful to me.

Thanks,
Hari
_________________
http://mainframe-world.com
Back to top
View user's profile Send private message Send e-mail MSN Messenger
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