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
 
Connnect Direct Sending Zip file from Zos to UNIX

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: Connnect Direct Sending Zip file from Zos to UNIX
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    Post subject:
Reply with quote

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

Active User


Joined: 27 Apr 2005
Posts: 299
Location: Cincinnati OH USA

PostPosted: Mon Feb 25, 2019 5:02 pm    Post subject:
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    Post subject:
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    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 File transfer issue with end of line ... VINAY PALLELA TSO/ISPF 4 Thu Nov 14, 2019 12:01 am
No new posts File compare, where file has header a... VINAY PALLELA SYNCSORT 8 Thu Nov 07, 2019 5:05 pm
No new posts OMIT first and last column of a pipe-... karthikb_itpro DFSORT/ICETOOL 1 Fri Nov 01, 2019 8:24 pm
No new posts How to place name of the file where t... danielgp89 SYNCSORT 18 Thu Oct 17, 2019 12:55 am
No new posts Need help in parsing record in VBA file guptae DFSORT/ICETOOL 4 Fri Oct 11, 2019 2:31 pm

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