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: 275
Location: Bamberg, 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: 1691
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: 831
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 Identify the count from two diffrent ... UmashankarSubramani DFSORT/ICETOOL 3 Sat Jul 11, 2020 4:35 am
No new posts CICS file processing using applicatio... Satish_gsv CICS 3 Sat Jul 11, 2020 4:18 am
No new posts Problem getting record length of a re... amitc23 COBOL Programming 2 Thu Jul 02, 2020 10:52 pm
No new posts Want to check if trailer count is 0 a... rohanthengal JCL & VSAM 10 Fri Jun 26, 2020 10:47 am
No new posts File transfer to remote system using ... kalyan.lc5 TSO/ISPF 2 Wed Jun 24, 2020 1:24 pm

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