superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
How about "uncompress"? I played around with this for a while, and got this bit to work. It may require some tweaking on your end:
Code: |
//STEP0001 EXEC PGM=AOPBATCH,PARM='sh -L'
//STDOUT DD SYSOUT=*
//STDERR DD SYSOUT=*
//STDIN DD *
cp "//'superk.utili.txt.z'" /tmp/utili.txt.Z
uncompress -fv /tmp/utili.txt.Z
cp /tmp/utili.txt "//'superk.utili.txt'"
/*
//*
|
which gave me a dataset, 'SUPERK.UTILI.TXT', in ASCII format. I then converted the dataset from ASCII to EBCDIC:
Code: |
//STEP0001 EXEC PGM=IKJEFT01
//SYSTERM DD DUMMY
//SYSTSPRT DD SYSOUT=*
//INPUT DD DSN=SUPERK.UTILI.TXT,
// DISP=(SHR,DELETE,KEEP)
//OUTPUT DD DSN=SUPERK.UTILI.EBC,
// DISP=(,CATLG,DELETE),RECFM=VB,LRECL=1028,
// UNIT=SYSDA,SPACE=(CYL,(10,10))
//SYSTSIN DD DATA
OCOPY INDD(INPUT) OUTDD(OUTPUT) TEXT CONVERT((BPXFX311)) TO1047
/*
//
|
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
If that won't work for you, maybe you can contact the folks at PKWARE to ask if PKZIP/MVS will support the .Z format (I know it supports .zip and .gz files). |
|