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: 6968
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 copying data without knowing location arunsoods DFSORT/ICETOOL 6 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 19 Thu Jul 13, 2017 2:11 pm
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts SQL - select data available in index Nileshkul DB2 3 Mon Jun 26, 2017 1:30 am


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