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

DSNTIAUL vs DSNUPROC(unload)


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

New User


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

PostPosted: Thu Apr 17, 2008 9:20 am
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
Ken Rigby

New User


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

PostPosted: Fri Apr 25, 2008 7:23 pm
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
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 DSNTIAUL driven delete IBM Tools 0
No new posts Remote Unload of CLOB Columns DB2 6
No new posts Multiple table unload using INZUTILB DB2 2
No new posts changing defaults in db2 admin - Unlo... DB2 0
Search our Forums:

Back to Top