View previous topic :: View next topic
|
Author |
Message |
alpit
New User
Joined: 07 Feb 2020 Posts: 2 Location: INDIA
|
|
|
|
Hi, I am sending compressed mainframe PS file through OPUT command to ZOS unix box.
After reaching over there it's getting uncompressed.
Please let me know how to keep it compressed. |
|
Back to top |
|
|
Joerg.Findeisen
Senior Member
Joined: 15 Aug 2015 Posts: 1348 Location: Bamberg, Germany
|
|
|
|
Have you tried with BINARY option specified? |
|
Back to top |
|
|
alpit
New User
Joined: 07 Feb 2020 Posts: 2 Location: INDIA
|
|
|
|
Joerg.Findeisen wrote: |
Have you tried with BINARY option specified? |
yes tried with Binary , still not working
Code: |
//STEPXX EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
OPUT 'xxxxx.xxxx.xxx' '/u/xxxxxxxx.test1.txt' -
BINARY
//*
//* |
Coded for you - please do it yourself next time |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1745 Location: Tirupur, India
|
|
|
|
Hello,
How is the file compressed in Mainframe side? I mean, what methodology was used to compress the file and when you browse the PS file how does it look.
After transferring the file to Unix, how do you say that it is decompressed? |
|
Back to top |
|
|
steve-myers
Active Member
Joined: 30 Nov 2013 Posts: 917 Location: The Universe
|
|
|
|
alpit wrote: |
Hi, I am sending compressed mainframe PS file through OPUT command to ZOS unix box.
After reaching over there it's getting uncompressed.
Please let me know how to keep it compressed. |
There is no such thing as a "compressed" text file in *nix, not the z/OS pseudo Unix or a real Unix or Linux system.
The reason is compression may introduce the binary equivalent of the *nix end of line binary character, and that can cause problems reading the file.
Now vasanthz asked how the data set was originally compressed; this knowledge can help us deduce the most effective way to transfer the data to the *nix system. I think, too, we'd like to know what you intend to do with the data on the *nix system. |
|
Back to top |
|
|
|