If this is a batch process to FTP to another platform, and it can handle tar or jar etc...
Then you can certainly do that. If the other platform can use TRSMAIN output, that is part of z/OS So for your issue, you just need a first step to send the file to USS and pax or tar it. Then ftp to the other platform. Once received there - you should be able to reverse the process There is some interesting information here https://www-01.ibm.com/support/docview.wss?uid=isg1OA52222 https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.bpxa500/mvsds.htm I have not done this myself, but I know it should be possible to do. Lizette > -----Original Message----- > From: IBM Mainframe Discussion List <[email protected]> On Behalf Of > Donald Russell > Sent: Sunday, June 30, 2019 8:58 AM > To: [email protected] > Subject: Using bpxbatch to compress an MVS dataset > > I have a batch process in zOS 2.1 (soon to be 2.3) that creates a large text > file I want to FTP to a zLinux system. > > How can I use bpxbatch tar or compress (or ?) to create a smaller file I can > ftp instead instead of the original file? I don’t want to use pkzip unless > that’s the only choice. Terse is no good because Linux can’t unterse it. > > Is there a way to specify a DD name for the input and output files, similar > to how FTP allows put/get //DD:<dd name> > > Part two... the text in the file is EBCDIC, but Linux wants ASCII. I don’t > see an option to do the conversion. > > I’ll have to check tr, but maybe there’s a way to use more traditional Unix > syntax like > > cat //dd:in | tr ... | tar -cv //dd:out > > Cheers, > Don > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, send email to > [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
