Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Scheduling UNLOAD and LOAD jobs

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
Author Message
satyender

New User


Joined: 05 Jan 2008
Posts: 40
Location: hyderabad

PostPosted: Wed Aug 20, 2008 3:14 am    Post subject: Scheduling UNLOAD and LOAD jobs
Reply with quote

I've created a new table.
I've unlodead the data using sub-queries.
I've loaded the data into the new table.
While loading the table I've editied the SYSPUNCH card with the new columns as per the table.

If I unload the data again, I think the SYSPUNCH card will get changed once again, and if I want to load the table I think I must edit the SYSPUNCH card again. If I am not wrong.

Can I now schedule the UNLOAD and LOAD utilities so that they can run every time without editing the edited SYSPUNCH card.
Back to top
View user's profile Send private message
References
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 8771
Location: 221 B Baker St

PostPosted: Wed Aug 20, 2008 4:57 am    Post subject:
Reply with quote

Hello,

I'm not sure i understand everything you've mentioned, but once you have the LOAD control statements defined, you could put the control statements in a pds member and use that for repeated loads with no manual editing.

The same could be used for the UNLOAD.

As i mentioned, there may be something i misunderstand.
Back to top
View user's profile Send private message
satyender

New User


Joined: 05 Jan 2008
Posts: 40
Location: hyderabad

PostPosted: Thu Aug 21, 2008 3:02 am    Post subject:
Reply with quote

Thanks dick scherrer.

I have changed the DISP parameters and submitted the jcl and now it is working fine.

Thanks once again for your response.
Back to top
View user's profile Send private message
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 8771
Location: 221 B Baker St

PostPosted: Thu Aug 21, 2008 3:28 am    Post subject: Reply to: Scheduling UNLOAD and LOAD jobs
Reply with quote

You're welcome - good to hear it is working icon_smile.gif

Thank you for letting us know.

d
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1