IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

Connnect Direct Sending Zip file from Zos to UNIX


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
netcrawler

New User


Joined: 31 Mar 2008
Posts: 17
Location: Kuala Lumpur

PostPosted: Tue Feb 12, 2019 3:25 pm
Reply with quote

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

New User


Joined: 31 Mar 2008
Posts: 17
Location: Kuala Lumpur

PostPosted: Mon Feb 25, 2019 12:37 pm
Reply with quote

Well Resolved
Back to top
View user's profile Send private message
dneufarth

Active User


Joined: 27 Apr 2005
Posts: 318
Location: Inside the SPEW (Cincinnati OH USA)

PostPosted: Mon Feb 25, 2019 5:02 pm
Reply with quote

And, the resolution was?
Back to top
View user's profile Send private message
netcrawler

New User


Joined: 31 Mar 2008
Posts: 17
Location: Kuala Lumpur

PostPosted: Tue Feb 26, 2019 7:51 am
Reply with quote

Well, for sending file to unix just code:

lpo.lp = ' SYSOPTS=":DATATYPE=BINARY: :XLATE=NO:") - '
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 

Search our Forum:

Similar Topics
Topic Forum Replies
No new posts COBOL VS SORT Utility for file format... COBOL Programming 6
No new posts How to find which file contains my se... DFSORT/ICETOOL 6
No new posts IGZ0035S THERE WAS AN UNSUCCESSFUL OP... COBOL Programming 3
No new posts Hex Value - vb file replace old date ... DFSORT/ICETOOL 14
No new posts Related to using a file in comparison JCL & VSAM 7

Back to Top