If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > SQL query and TSO dataset

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-02-07, 04:45
annamaria annamaria is offline
Registered User
 
Join Date: Apr 2007
Posts: 51
SQL query and TSO dataset

I have to compare data from an SQL query with data in a TSO dataset.
So I have to perform many operations:
1) importing TSO dataset in Excel
2) adjusting dataset columns in Excel
3) running the SQL query
4) saving the query output in Excel
4) joining in Access dataset and query results.
Is there a way to avoid all these steps and simplify and fasten this process?
The dataset takes data from db2 tables and make calculations, yielding
results that I have to compare with my query.
Thank you.
Anna - Verona (Italy)
Reply With Quote
  #2 (permalink)  
Old 06-02-07, 07:27
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
You need to specify in your questions that you are using DB2 for z/OS (or OS/390). Otherwise people will assume you are using DB2 for Linux, UNIX, Windows, which is a different product.

Your best bet might be to load the data from the TSO dataset into a DB2 a table and then compare it against the other table (if you use save data in QMF for TSO it will create a table with the results of our QMF query) using SQL statements (if you are good at SQL). Ask your DBA if they can create a new table for you and load the data from the TSO dataset into it (in the same DB2 subsystem as the table you want to compare it against).
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On