I am working on an AIX v5 box and the SAs are unwilling to load any of the 'cool' Perl modules for me. What I need to do is send files to customers using an existing script called mail_files (it can be found at
http://personal.ecu.edu/spraguem/mail_files.txt
Everything I've tried has failed...
We're fairly new to SSIS (SQL Server 2005) and, in our first team effort, we've run into a problem we just can't figure out.
Two sources are sorted in two separate Sort operations, sent through a Merge Join to pull a facility code out of one file and insert it into the second one and the output...
I need to read through a text file and examine each line. If the leading and/or trailing character is a double-quote I need to truncate those characters. However, there are double-quotes within the line which are valid and can't be changed.
I'm not looking for a solution, only some pointers -...
I have a .ksh script on our AIX 5.x box which goes to a specific directory every hour and pulls the files to process and send to another server via ftp. However, when the number of files becomes large (tonight there were almost 6000 of them, other times there are zero or just a couple of dozen)...
I run a series of ftp scripts on an AIX box, connecting to both Unix and Windows servers for the drops. I'm occasionally having a problem with being unable to connect to the other server - 'ftp connection refused' type messages (although there are variations) - which, because the users aren't...
Is there a way in HTML to specify that a certain field is the default and to give it focus when the page loads?
I have a login screen and would like the user ID field to have focus with the cursor sitting there when the page loads --- but I'm unable to figure out how to do it (or even if it can...
As I don't know PHP or MySQL very well, I've been working through the text "Practical PHP and MySQL: Building 8 Dynamic Web Applications" this weekend. Everything was going well until I began working on the shopping cart application.
Here is the code (which matches the book...
As I don't know PHP very well, I've been working through the text "Practical PHP and MySQL: Building 8 Dynamic Web Applications" this weekend. Everything was going well until I began working on the shopping cart application.
Here is the code (which matches the book character-for-character) and...
I have a directory with 1000 or so files and need to copy only those containing the phrase Med Admin Rpt to another directory. This is a one-time, 'hurry up' thing and, of course, I'm under the gun.
Any help/thoughts appreciated.
Tnx.
Tom
(Note: similar post in Unix scripting forum -...
I have a directory with perhaps 1000 files and I need to copy only those containing the value Med Admin Rpt to a different directory. Have tried several things and they aren't working - and, of course, the boss is asking me for my progress every 15 minutes.
Help??? :-)
Tnx.
Tom
"My mind is...
I have a requirement to pick up a group of files - exact number unknown but it can be anywhere from zero to 500+ for each run - via ftp. Since we have no way of knowing whether a file is still being generated (i.e., just the directory listing exists, no content) my plan is to process as...
I need to learn a new server's file trees quickly so would like to be able to see a 'tree' of the directories from my starting point to the bottom of the structure. Don't care about the contents, just the directory names with relative path info.
System us HP Unix.
Any thoughts?
Tnx.
Tom...
Environment is AIX v5.2 - standard installation of Perl, system engineers and corporate security refuse to allow me to add any additional modules beyond the basic, standard installation we currently have.
With that out of the way, I was handed - literally on my way out the door today - a...
After having read all of the 70+ posts here on this problem, making the changes suggested by various members and bouncing the Apache server I'm still not able to run a cgi script. When I click on a button to execute the script, instead of the script executing it comes up and asks if I want to...
I have a file which, besides the 'normal' <cr> characters at the end of each record, also contains some unwanted <cr> embedded in some (not all) of the messages. The only way I can identify these is that they occur after a <BR>, i.e.,
<BR>^M
where the ^M is how the <cr> appears in the vi...
I am trying to modify an HL7 (hospital interface data) file to copy a value from one segment into another. Unfortunately, the source segment follows the destination segment so none of the tricks I normally use are working.
Here's the layout:
MSH|.....| | | | |...
PID|.x.x.x.x|aaaaaa|...
...
I have a file - each record quite long - which starts out in the following general format:
07/11/2007 00:00:10|field2|07112007|field4|MSH|^~\&|SPC|O|IM|E|
and I need to be able to select only records with an O in the indicated location - everything else to be ignored.
I had thought that using...
I have a file of approximately 300 records which seems to be missing the EOF marker and, try as I may, I can't get it added to the file.
When I try to use vi (the only editor available on the AIX 5.x box) to edit the file, I receive the following:
"fixed.er" [Last line is not complete] 1...
Have a requirement to open every file found in a specific directory, perform a simple substitution, and write it back out. Will do the output writing routine later but right now the routine below keeps dying when trying to open the first file in the array. I've checked and the files - there...
I have two files, one containing a key value (unique values, one per line) and the other containing records eacho of which contains one of the key values. There may not be any records in the second file for a particular key value and there could also be multiples. Key value file has been...
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.