Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
mainframe ps file to unix box

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
alpit

New User


Joined: 07 Feb 2020
Posts: 2
Location: INDIA

PostPosted: Fri Feb 07, 2020 11:19 am    Post subject: mainframe ps file to unix box
Reply with quote

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
View user's profile Send private message

Joerg.Findeisen

Active User


Joined: 15 Aug 2015
Posts: 162
Location: Germany

PostPosted: Fri Feb 07, 2020 3:01 pm    Post subject:
Reply with quote

Have you tried with BINARY option specified?
Back to top
View user's profile Send private message
alpit

New User


Joined: 07 Feb 2020
Posts: 2
Location: INDIA

PostPosted: Fri Feb 07, 2020 3:48 pm    Post subject:
Reply with quote

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
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1687
Location: Tiruppur, India

PostPosted: Mon Feb 10, 2020 11:36 pm    Post subject:
Reply with quote

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
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 798
Location: The Universe

PostPosted: Tue Feb 11, 2020 12:44 am    Post subject: Re: mainframe ps file to unix box
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Trigger mainframe job , when file pla... Nandhinee All Other Mainframe Topics 0 Thu Apr 09, 2020 10:30 pm
No new posts Add the name in the PS file and creat... dharmaraok DFSORT/ICETOOL 9 Wed Apr 01, 2020 10:43 am
No new posts DFSORT Output file order query A_programmers DFSORT/ICETOOL 2 Thu Mar 26, 2020 11:59 pm
No new posts Error Creating KSDS file, REASON CODE... sandeep prajapati JCL & VSAM 8 Tue Mar 24, 2020 12:05 pm
No new posts Need help on DB2 load in Mainframe subratarec DB2 5 Tue Mar 24, 2020 2:08 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us