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 Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts How to get current date -1 and curren... murali.andaluri DFSORT/ICETOOL 3 Wed Mar 08, 2017 2:09 pm


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