I wouldn't assume that using stored procedures would make it more difficult to port your application. We've recently done this and in fact it's the SQL in the application that presented the bigger headache.
I need to inspect some varchar variables in a SQL Stored procedure in UDB DB2 v8.1, to determine whether their contents are all numbers or whether there are some non-numeric characters in there. I cannot change the datatype - it has to be a varchar. We were able to do this in Sybase using the...
Thanks.
I got round this in the end by using find, but that gave me the whole directory listing too. Eventually stripped this out using basename.
Original code:
for usename in `ls pbe_rep*.txt`
do
Replaced by:
for usename in `find $LOCATION -name "pbe_rep*.txt"`
do...
I have a script which involves an ls on a directory which contains files derived from an external source. All works fine, but VERY occasionally we get a massive number of files and the ls throws the following error:
/usr/bin/ls: 0403-027 The parameter list is too long.
Is there anything I...
The problem I'm having is really in identifying and sending the signal and am having problems with the man pages on this box (unfortunately I don't really have control over it)
I have a script running some code as a background process via nohup. I need to be able to run a script which will kill that process. I've tried to get the pid and kill it but am having trouble with that. There has to be a simple command for non-unix people to use to stop the service - i.e. I...
Possibly a dumb question...
From a W2K server I can use rexec to perform commands such as date and who on a RS6K, however I really need to execute a script on the RS and get the output to go to a file that I can then ftp back from the RS.
Additionally I can't seem to find how to include the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.