View previous topic :: View next topic
|
Author |
Message |
netcrawler
New User
Joined: 31 Mar 2008 Posts: 27 Location: Kuala Lumpur
|
|
|
|
I'm new to Connect Direct. Hope some experts can assist. I'm trying to send
a zip file from Zos to Unix system. From the CD documentation we need to send binary mode instead of text mode in order to be opened by Unix system. I'm using CODEC to compress the file before sending via connect direct to UNIX. However, I'm not sure where to code in SYSOPTS = ="DATATYPE=BINARY"
In my REXX script in Mainframe, I have coded in REXX script as follows but file unable to decomppress after sending to UNIX giving error message
(31) FILE FORMAT NOT ALLOWED
My CODES:
if trantyp = 'SEND' then
lpo.lp = 'STEP'fln1' COPY FROM(PNODE DSN=&INPUT'fln1' - '
else
lpo.lp = 'STEP'fln1' COPY FROM(SNODE DSN=&INPUT'fln1' - '
lp = lp + 1
l lpo.lp = 'SYSOPTS="DATATYPE=BINARY" DISP=SHR) CKPT=100M - '
lp = lp + 1
Can any Connect Direct experts help? Thanks |
|
Back to top |
|
|
netcrawler
New User
Joined: 31 Mar 2008 Posts: 27 Location: Kuala Lumpur
|
|
|
|
Well Resolved |
|
Back to top |
|
|
dneufarth
Active User
Joined: 27 Apr 2005 Posts: 419 Location: Inside the SPEW (Southwest Ohio, USA)
|
|
|
|
And, the resolution was? |
|
Back to top |
|
|
netcrawler
New User
Joined: 31 Mar 2008 Posts: 27 Location: Kuala Lumpur
|
|
|
|
Well, for sending file to unix just code:
lpo.lp = ' SYSOPTS=":DATATYPE=BINARY: :XLATE=NO:") - ' |
|
Back to top |
|
|
|