Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Unloading of DB2 data from a table based on current date

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
Vidita Nolkha

New User


Joined: 29 Jun 2009
Posts: 2
Location: Mumbai

PostPosted: Tue Jun 30, 2009 7:58 pm    Post subject: Unloading of DB2 data from a table based on current date
Reply with quote

Hi !

I have a table with 3 fields - id, name, address. I want to unload the data from the table based on current date everyday.

How can I achieve this?

Thanks for your support ! icon_smile.gif
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Jun 30, 2009 8:24 pm    Post subject:
Reply with quote

You can't,
since you have only 3 columns:
  1. id
  2. name
  3. address

how do you expect to determine a row for a particular date?
Back to top
View user's profile Send private message
Vidita Nolkha

New User


Joined: 29 Jun 2009
Posts: 2
Location: Mumbai

PostPosted: Wed Jul 01, 2009 5:07 pm    Post subject: Reply to: Unloading of DB2 data from a table based on curren
Reply with quote

Is there a way using system date of today?? I want to unload the data on the very day its loaded..
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Wed Jul 01, 2009 5:27 pm    Post subject:
Reply with quote

If there is no date loaded in the table you can not identify when the rows were loaded.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 0 Mon Jan 02, 2017 11:16 am
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us