Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums 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: 1
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

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 calculate the record count and based ... naveensrimf DFSORT/ICETOOL 1 Tue Jan 08, 2019 11:20 pm
No new posts Add week number to a file name or rep... tejdeep0274 JCL & VSAM 2 Thu Jan 03, 2019 6:49 am
No new posts Transferring file to Mainframes Shinoj Vijayakumar IBM Tools 3 Thu Dec 06, 2018 2:35 pm
No new posts Convert VBA file to FB! Vignesh Sid SYNCSORT 5 Mon Dec 03, 2018 1:27 pm
No new posts Another 39 File Status on VB file socker_dad COBOL Programming 5 Tue Nov 27, 2018 6:11 am

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