Search Results

Search: Posts Made By: avillanueva
6,574
Posted By avillanueva
I did your suggestion but I still encountered the...
I did your suggestion but I still encountered the error. I was able to work around it by taking out the $ sign. Thanks! :D
6,574
Posted By avillanueva
Thanks for your reply. Does this mean that ksh...
Thanks for your reply. Does this mean that ksh doesn't interpret the $ symbol?
6,574
Posted By avillanueva
How to format sql result as amount - ksh
I am currently returning an sql result with a number value that I want to format as an amount. The sql runs smoothly on its own, but when run inside my ksh script an error is encountered:

ERROR at...
27,044
Posted By avillanueva
Thank you for your replies! I was able to do...
Thank you for your replies! I was able to do workaround on my sql. Instead of fixing the file, I took out the spaces on my sql results and it worked perfectly. :)
27,044
Posted By avillanueva
Sorry, I'm afraid I don't know how to use sed...
Sorry, I'm afraid I don't know how to use sed correctly..

I tried your suggestions but the compiler was trying to access the first word (4531010001) inside the file instead of the file itself..
...
27,044
Posted By avillanueva
Remove trailing spaces from file
I'm currently writing my sql results to a file and they have trailing spaces after each field. I want to get rid of these spaces and I'm using this code:

TVXTEMP=$(echo $TVXTEMP|sed -e 's/\ //g')...
3,344
Posted By avillanueva
Writing sql results to file using ksh -nevermind
I'm having problems with writing my sql results to a file:



sqlplus -S username/password@DB <<!!

set echo off
set verify off
set showmode off
set feedback off
set timing off
set...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 12:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy