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

DSNTIAUL - SYSREC00


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

New User


Joined: 31 Jan 2007
Posts: 21
Location: Chennai

PostPosted: Thu Apr 09, 2009 7:45 pm
Reply with quote

Hi

when I have a DELETE SQL in my sysin of DSNTIAUL, what will be written into the SYSREC00 ?

Basically my requirement is to get a list of records (Keys) that getting deleted by the SQL into a flat file, is it possible ?

Thanks,
R
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1020
Location: India

PostPosted: Fri Apr 10, 2009 10:40 am
Reply with quote

Rajan,

Quote:
when I have a DELETE SQL in my sysin of DSNTIAUL, what will be written into the SYSREC00 ?

Nothing.

Quote:
Basically my requirement is to get a list of records (Keys) that getting deleted by the SQL into a flat file, is it possible ?

For this what you can do is........
In the first step you can SELECT the records, based on the condition you gonna delete. And in the next step DELETE the records.

OR

If you are in version 9. You can use the table-change reference technique(FINAL TABLE).

Thank You,
Sushanth Bobby
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 DSNTIAUL driven delete IBM Tools 0
No new posts DSNTIAUL and DB2 Scalar Functions DB2 17
No new posts Unload from Table with DSNTIAUL delim... DB2 1
No new posts Can you suppress NULLIF char for DSNT... DB2 1
No new posts SQL QUERY to unload XML rec from DB2 ... DB2 10
Search our Forums:

Back to Top