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 > Data Access, Manipulation & Batch Languages > Unix Shell Scripts > Shell Scripting for dumping the result of the Db2 table count into the .csv file

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-10-11, 23:41
vikrambharat vikrambharat is offline
Registered User
 
Join Date: Aug 2011
Posts: 5
Shell Scripting for dumping the result of the Db2 table count into the .csv file

Hi,

I have a following requirement of writing the DB2 SQL Query using the dynamic UNIX shell Scripting. The shell scripting should contain the following

1. Connect SQL to connect to the DB2 database


2. How to write the Dynamic DB2 SQL for calculating the source and target record count of a particular table and dump the results of the SQL into the .csv file?

THe above shell script should export the results to the .csv file when we execute the shell script.

Thanks,
Vikram
Reply With Quote
  #2 (permalink)  
Old 08-11-11, 12:54
LKBrwn_DBA LKBrwn_DBA is offline
Registered User
 
Join Date: Jun 2003
Location: West Palm Beach, FL
Posts: 2,456
Cool

And you expect us to do your work?
What have you coded?
__________________
The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb
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