Search Results

Search: Posts Made By: chris01010
5,325
Posted By chris01010
Hi, You are partly correct, I had some...
Hi,

You are partly correct, I had some debug lines in which I removed to make it neater for posting.

The script actually errors on lines 25 and 26 now.

Thanks

Chris
5,325
Posted By chris01010
PERL - Use of uninitialized value in pattern match (m//)
I have written a PERL script to read files from directory that the filename contains OT. It then takes each line of each file and prints the first 5 characters before the first occurence of a /.
...
875
Posted By chris01010
PERL script loop problem
I have written the below PERL script to reprocess messages from a failure queue.

It basically browses all the messages in the failure queue to individual files in a directory and then scans...
Forum: Programming 01-21-2015
3,525
Posted By chris01010
OK, thanks. I've ended up asking the wrong...
OK, thanks. I've ended up asking the wrong question by trying to simplify it too much :0)

So my actual query is a bit more complicated and uses case and group by conditions.

So how can I make...
Forum: Programming 01-21-2015
3,525
Posted By chris01010
SQL*PLUS How to display a count of 0
Hi,

I have been frantically googling and checking some sqlplus forums, but can't find the correct syntax.

Basically within sqlplus I want to do a count on a table and if the count is 0 it...
1,044
Posted By chris01010
vbe - the first 3 lines are coming from the echo...
vbe - the first 3 lines are coming from the echo $appVstatus line (this was just a debug line to dislay what the variable contained).

RudiC - Still the same result.

It looks like the 2 prints...
1,044
Posted By chris01010
Interpreting multiple values from a variable
Hi,

I am writing a shell script which will check the status of a resource in a cluster and then display nicely to a user running the script at command line.

Basically the script runs a status...
1,883
Posted By chris01010
Brilliant now works! Thank you all for your...
Brilliant now works!

Thank you all for your assistance, much appreciated.
1,883
Posted By chris01010
First of all, thank Bartus. DRL - useful...
First of all, thank Bartus.

DRL - useful perl script, I'm going to see if I can turn it into a package.

junior helper - When I ran your code in a test script I got the following complilation...
1,883
Posted By chris01010
PERL: DBI - Is it possible to get a "nicer" formatted return?
Hi,

I am currently writing a perl module that will be passed queries from other scripts and use DBI to execute them on an Oracle Database. The problem I have is when it comes to the return.

I...
1,585
Posted By chris01010
PERL: Calling a sub routine from another module - help!!!
Hi,

I am an occasional PERL user. I am trying to call a sub routine (passing parameters) in perl module from a driver .pl file. I have been "tinkering" for a while now and have confused myself.
...
Forum: Programming 06-26-2014
4,391
Posted By chris01010
Unfortunately we are using an adaptor and not a...
Unfortunately we are using an adaptor and not a full version of Connect Direct (which is what is making life hard).
Forum: Programming 06-26-2014
4,391
Posted By chris01010
Thanks, but wouldn't that just check if the open...
Thanks, but wouldn't that just check if the open has been successful?

I need to prevent the file being opened until the write from Connect Direct has finished.
Forum: Programming 06-26-2014
4,391
Posted By chris01010
How to prevent a C++ program reading a file that is still being written to.?
Hi,

Hopefully someone can help.

We have a process that writes a file using Connect Direct to our local Solaris server and then our C++ program will pick up the file and process it....
1,138
Posted By chris01010
I maybe missing something, but it returns nothing.
I maybe missing something, but it returns nothing.
1,138
Posted By chris01010
Reading control characters into variables
Hi,

I am trying to write a shell script to help with some digital signature work currently being undertaken where we have a file that contains a number of rows ending with ^M.

What I need to...
1,036
Posted By chris01010
PERL: matching text between 2 values
Hi,

I am trying to get a text value between 2 words in a string and assign it to a value. Basically the program should read each row in a file and return the text between 2 fields and print it to...
1,211
Posted By chris01010
Good spot, option B is what I was after. ...
Good spot, option B is what I was after.

Thanks
1,211
Posted By chris01010
PERL - Variable values getting mixed up!
Hi,

I only dip my toe into PERL programming on the odd ocassion so I was wondering if anyone had any ideas as to why the below is happening:
When I run my PERL script the variable values seem to...
Forum: Programming 10-16-2012
3,075
Posted By chris01010
SQLPlus Case statement on a substring
Hi,

I have an SQL query that returns a substring of a field and I want to work a case statement on it, but either I get a syntax error or in it's current manifestation the case is ignored all...
1,035
Posted By chris01010
Thanks, works. Slightly annoying. Had found out...
Thanks, works. Slightly annoying. Had found out about this but as the write to the reports directory worked didn't think it was an issue.
1,035
Posted By chris01010
PERL - issue with OPEN
Hi,

I have a menu script written in PERL which calls some shell scripts and displays the return.

I'm having a problem with OPEN. A section of the code is below:


`./scriptlist.ksh 1`;
...
1,321
Posted By chris01010
Thanks for the suggestion, but that just returns...
Thanks for the suggestion, but that just returns the banner and not the output frrom the sql.
1,321
Posted By chris01010
Hi Jim, Thanks for the info. Checked the...
Hi Jim,

Thanks for the info. Checked the TERM variable on both servers and they both display as vt100.

Looking at the man page I'm having trouble seeing the wood for the trees. I'll...
1,321
Posted By chris01010
Display problem when running a remote script
Hi,

Quick question, someone will hopefully be able to stop me from :wall:.

I currently have a script which calls a script on a remote machine and captures the stdout to a file:


ssh...
Showing results 1 to 25 of 46

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