Search Results

Search: Posts Made By: philplasma
8,467
Posted By philplasma
GIC1986, Yes! That was exactly it. Thanks, I ...
GIC1986, Yes! That was exactly it. Thanks, I had to change the test condition to include the full path even though the script that cron was running was already in that path.

Thanks!
8,467
Posted By philplasma
I tried your (anchal's) suggestion and got the...
I tried your (anchal's) suggestion and got the same result. Fail to FTP when called from cron, succeed to FTP when run from shell. Succeed to rename file in both cases. methyl's suggestion looks...
8,467
Posted By philplasma
Script works but doesn't with cron
Good morning,

The script below without the hilited text successfully FTPs the files in question to the other server when it is called from the crontab. I don't want to establish an FTP connection...
Forum: AIX 10-17-2009
1,864
Posted By philplasma
yeah, I've asked the customer's DBA to check on...
yeah, I've asked the customer's DBA to check on that. Hopefully he will find something because I think the answer from an AIX forum is that there are no such limits except for the hard physical...
Forum: AIX 10-16-2009
1,864
Posted By philplasma
Executable doesn't complete on large files
Good morning,

I have an executable called DataExport (not that the name means much), but anyhow, it is a job that runs to call oracle stored procs which then export data out to a text file. ...
Forum: AIX 09-22-2009
6,352
Posted By philplasma
I'm going to try your renaming suggestion first -...
I'm going to try your renaming suggestion first - I've created a script in each of the two process directories to take the first *.GO file and mv it into the process folder. I am going to use at or...
Forum: AIX 09-22-2009
6,352
Posted By philplasma
how to handle potential file contention
I need to change how a posting procedure currently works in order to improve load balancing but I am hitting a potential file contention problem that I was wondering if someone here could assist me...
8,942
Posted By philplasma
Perl please?
The compiler in MKS Toolkit is not working, I don't think it is a problem with the code, here is the error message I am getting:

$ cc my_reader.c -o my_reader
Warning: Include' variable is...
8,942
Posted By philplasma
Thanks, I'll give it a try and report back...
Thanks, I'll give it a try and report back...
8,942
Posted By philplasma
parsing a hex file
Goodmorning,

I have a hex encoded file that needs to be parsed to remove some bytes and write the remaining ones to a new file. Here is the top of the file as shown by a hex editor:
...
19,461
Posted By philplasma
Thanks! While I am sure your solution works...
Thanks!

While I am sure your solution works perfectly, I was able to work around the problem by changing my SQL that produces the difference between last id and max id and output 'true' if there...
19,461
Posted By philplasma
without the back ticks it didn't work, so thanks...
without the back ticks it didn't work, so thanks go to the Smiling Dragon for helping out and thanks joeyg for the attempt. However, it still doesn't work, I get the following as a result:

" near...
19,461
Posted By philplasma
checking for non-zero value
I have a process that spits out a file called sqlplus.out, here is what the result looks like:

Currently the value you see is zero, what I need to do is perform an action if that value is...
13,089
Posted By philplasma
Thanks for the really helpful tips, but so far no...
Thanks for the really helpful tips, but so far no luck. I need to use tr because both awk and sed are getting stuck on the line length. The length of the lines in this pollfile is greater than...
13,089
Posted By philplasma
I failed to provide a key piece of info - this is...
I failed to provide a key piece of info - this is MKS Toolkit, a unix emulator on a windows box.

Here is the error message:
Error executing sort script...
13,089
Posted By philplasma
Replace tr/sed with awk
There is a service that runs that we call multi-streaming that calls a shell script multiple times simultaneously. In this shell script is the following line:
tr '\r' '\n' < $POLLFILE.OUT | sed...
12,774
Posted By philplasma
The sed produced a new.OUT that was identical to...
The sed produced a new.OUT that was identical to the TL*.OUT

The tr / sed did exactly what was needed. Thanks for the amazing quick reply!
12,774
Posted By philplasma
line too long using awk or sed or tr
Goodmorning,

I have MKS Toolkit (K-Shell) running on a windows server. On it I have a c program that in a true unix environment works fine, but here it adds an extra '0000000000000016000A' in...
6,999
Posted By philplasma
thanks so much, it works now. It even worked...
thanks so much, it works now. It even worked before only I had made the mistake of looking for AWL.*.IP which is the standard for all of my other customers, but for this customer the directories are...
6,999
Posted By philplasma
Thanks for the quick reply, Porter, but it didn't...
Thanks for the quick reply, Porter, but it didn't work. First I ran it as is and got nothing, then I modified it as such:

for d in AWL.????????.IP
do
echo $d
if test -d $d
...
6,999
Posted By philplasma
how to check if masked directory exists?
I'm trying to write a script that identifies whether a directory of the form AWL.????????.IP exists. I have one that exists which is AWL.05301032.IP.

When I test like this: If [[ -d...
Showing results 1 to 21 of 21

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