Uncompressing / Compressing Files

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
kavo
Participant
Posts: 7
Joined: Tue Apr 08, 2003 1:21 am

Uncompressing / Compressing Files

Post by kavo »

We are having a problem uncompressing files that originate from a Unix server and are compressed using the COMPRESS command. They are sent to a NT/2000 server and have an extension of "Z". We have attempted to use GZIP, but are running into permisions problems. i.e. The file is uncompressed but there are no permissions on the files at all. This means that they cannot be accessed by anyone or anyjob unless the NT Administrator logs on and resetes the permissions.

Has anyone else had any experiences uncompressing and compressing large files from Unix to NT from within DataStage. (4gb file size)

The utility works fine from outside DataStage, but not when called from a Execute Command Activity Plugin within DataStage Sequencer.

Regards,

Damien
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

What error messages are emitted?
Can the command be run from a before-job subroutine (via ExecDOS) in a server job?
Can the command be run through the DSExecute() subroutine?


Ray Wurlod
Education and Consulting Services
ABN 57 092 448 518
Post Reply