IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to unload a partitioned table, partition by partition


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
dhivakarram

New User


Joined: 27 Jul 2006
Posts: 5
Location: chennai

PostPosted: Tue Jun 19, 2007 10:45 am
Reply with quote

how to unload a partitioned table, partition by partition, if it contains 30 partition i have to unload it in 30 files. everything is done by using symbolic parameters. but how to code the parm card.
kindly help me to learn this
Back to top
View user's profile Send private message
wanderer

Active User


Joined: 05 Feb 2007
Posts: 199
Location: Sri Lanka

PostPosted: Tue Jun 19, 2007 12:06 pm
Reply with quote

Something like this should get you started.

TEMPLATE UNLDDS DSN &USERID..&DB..&TS..P&PART..SYSREC
UNIT SYSDA DISP (NEW,CATLG,CATLG) SPACE (2,1) CYL

UNLOAD TABLESPACE TDB1.TSP1
UNLDDN UNLDDS

Please check the Unload and Template chapters in Utility Guide listed under the link 'Manual' above for more details. Hope this helps.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Remote Unload of CLOB Columns DB2 6
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top