Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 6970
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 How to select record x+7 or x+2 based... JoAnn Kulcyk SYNCSORT 6 Tue Jan 16, 2018 10:49 pm
No new posts Data security erase on RAID device steve-myers All Other Mainframe Topics 0 Sat Jan 13, 2018 6:41 am
No new posts Append the milliseconds to the data s... girishb2 DFSORT/ICETOOL 1 Thu Dec 21, 2017 9:07 pm
No new posts Moving a COMP-3 Variable to a Numeric... ajayachander COBOL Programming 2 Thu Dec 14, 2017 5:46 pm
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us