Hi David (sounds familiar doesn't it!)

Perhaps if you were to try zip instead of gzip, as this has a slightly
different methodology, that might cure the issue with the unzip on
windows. You can get it from
http://aixpdslib.seas.ucla.edu/aixpdslib.html

Regards

David Logan
Database Administrator
HP Managed Services
139 Frome Street,
Adelaide 5000
Australia

+61 8 8408 4273
+61 417 268 665



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of djordan
Sent: Friday, 6 February 2004 1:25 PM
To: 'U2 Users Discussion List'
Subject: RE: [UV/AIX] gzip data to file?


Hi David

Have you found gzip from AIX reliable.  I have one client who would gzip
the universe sequential file (30MB) and then unzip it on a Win NT4
server and we had a high level of corruption.  They don't compress and
they transmitt the files in the evening now.  I don't know if this was
the gzip utility or the Microsoft unzip, although I tried several zip
utitlities on Windows and they all ran into the same problem.

Regards

David Jordan
Dacono Holdings Pty Ltd

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Hona, David S
Sent: Friday, 6 February 2004 12:24 PM
To: 'U2 Users Discussion List'
Subject: RE: [UV/AIX] gzip data to file?


Stuart,

We do something similar, but it involves file transfers from a UNIX
server to a mainframe. Which then transfers the file to yet another
mainframe. Finally, the second mainfame sends it to UNIX server. Don't
ask me why! But there are firewalls, third-party vendors involved, etc.,
etc.

We create a 80MB sequential file (plus a few small ones) with a UV BASIC
program.

Using a shell script:
- copy the above file, plus some others into a staging directory
- the files are individually compressed using standard UNIX compress (to
keep it simple, the third-party didn't or want to use gzip)
- all the files are archived into a standard 'tar' archive utility - to
disk (again, for simplicity)
- the 'tar' file is then transferred to the mainframe via another
external shell script
- email notifications are sent to end-users to tell them the file was
sent to the third-party
- sequential files are retained, so we can manually do the file transfer
again, if required

Also, the second mainframe (the third-party) sends back an empty ASCII
file, acknowledging receipt of original file. We use this for an audit
trail, of sorts.

'tar' was used, so we didn't have to do individual file transfers. It
was a vendor requirement to try to keep the files to together.

All of this is triggered from EOM or ad-hoc batch jobs. It works well
(err, okay so it took a while to get it there!).

Hope this helps.

Regards
David


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Stuart Boydell
Sent: Friday, February 06, 2004 12:01 PM
To: U2-Users
Subject: [UV/AIX] gzip data to file?


[UV10/AIX] We have a requirement to output (10MB +/- ascii) data into
zipped files, the files then being put on a web server for collection.
I'm just wondering what the best approach to this might be? How would or
have other people approached this? I'm trying to avoid writing the data
until after it has been zipped.

Rough ideas being...
sh - c 'uv prog | gzip -c9 > file'
Print to a script?
Write to a device (or pipe?)?
Output to a java widget?
Other?

Regards,
Stuart Boydell


















**********************************************************************
This email message and any files transmitted with it are confidential
and intended solely for the use of addressed recipient(s). If you have 
received this email in error please notify the Spotless IS Support
Centre (61 3 9269 7555) immediately who will advise further action.

This footnote also confirms that this email message has been scanned for
the presence of computer viruses.
**********************************************************************

-- 
u2-users mailing list
[EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
-- 
u2-users mailing list
[EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users
--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users

Reply via email to