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
 
DSNTIAUL vs DSNUPROC(unload)

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

New User


Joined: 14 Apr 2008
Posts: 4
Location: New York

PostPosted: Thu Apr 17, 2008 9:20 am    Post subject: DSNTIAUL vs DSNUPROC(unload)
Reply with quote

As we know, the DSNTIAUL and the DSNUPROC can both unload data from DB2 table, so what's the difference between them?

Thanks & Regards
Dannis
Back to top
View user's profile Send private message
References
PostPosted: Thu Apr 17, 2008 9:20 am    Post subject: Re: DSNTIAUL vs DSNUPROC(unload) Reply with quote

Ken Rigby

New User


Joined: 24 Apr 2008
Posts: 1
Location: Valley Forge, PA

PostPosted: Fri Apr 25, 2008 7:23 pm    Post subject: Reply to: DSNTIAUL vs DSNUPROC(unload)
Reply with quote

The major difference is in what you can run, and what you can run against. DSNUPROC is for straight selects, and works on a TABLE or TABLESPACE.

DSNTIAUL will run any SQL statement, including a JOIN, that can be executed by DB2. And, it will run against any VIEW.

We use DSNTIAUL because it can run against a VIEW, which eliminates some security issues. The feature of having it run against a JOIN, and that it can use all of the functions in DB2 is quite nice as well.
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