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 

unload db2 table using sort

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



Joined: 13 Dec 2006
Posts: 0
Topics: 1
Location: HYD

PostPosted: Fri Aug 29, 2008 5:44 am    Post subject: unload db2 table using sort Reply with quote

Hi,

Can anyone pls help me out to unload a table using Sort utility(not BMC Utility)?

Have ran the Job using below sort card

//STEP010 EXEC PGM=SORT,PARM='DB2=DB2D'
//SORTOUT DD DSN=WXX262.SORT.UNLOAD.ENROLL,DISP=SHR
//SORTDBIN DD *
SELECT * FROM P72.ROC_ALLOC_GRP_MER_AFFL WITH UR
/*
//SYSIN DD *
SORT FIELDS=COPY
/*

got the result properly,but default values are not getting populated
i.e the field declared as not null.

please do provide any solutions

thanks
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