IBM MAINFRAME HELP & SUPPORT FORUMS
Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
 

Scheduling UNLOAD and LOAD jobs

THIS IS AN ARCHIVE FORUM: CLICK HERE TO GO TO THE ORIGINAL TOPIC

 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> DB2
View previous topic :: View next topic  
Author Message
satyender



Joined: 05 Jan 2008
Posts: 40
Location: hyderabad

Posted: Wed Aug 20, 2008 3:14 am    Post subject: Scheduling UNLOAD and LOAD jobs  

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  
dick scherrer



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

Posted: Wed Aug 20, 2008 4:57 am    Post subject:  

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  
satyender



Joined: 05 Jan 2008
Posts: 40
Location: hyderabad

Posted: Thu Aug 21, 2008 3:02 am    Post subject:  

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  
dick scherrer



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

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

You're welcome - good to hear it is working :)

Thank you for letting us know.

d
Back to top  
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> DB2
Page 1 of 1
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM