Thanks for your reply. Now I have got another issue.
_______________ __________
echo "Run SQL select current timestamp from SYSIBM.SYSDUMMY 1 with ur" >>$monlog
db2 "select current timestamp from SYSIBM.SYSDUMMY 1 with ur" >> currenttimestam p
cat currenttimestam p
_______________ __________
The output what I am getting is as follows:
1
---------------------------------------...
User Profile
Collapse
-
shell script to extract rows from table
Hi.
I am new to Unix. I need to write a Unix Shell Script to extract records from the table and write those extracted datas to a text file.
DB using is DB2.
Can anyone give me some sample shell script
thanks
Krishnakanth -
Unix shell script to extract records from table
Hi.
I am new to Unix. I need to write a Unix Shell Script to extract records from the table and write those extracted datas to a text file.
DB using is DB2.
Can anyone give me some sample shell script
thanks
Krishnakanth
No activity results to display
Show More
Leave a comment: