Page 1 of 1

PKZIP

PostPosted: Sun Apr 27, 2014 8:29 am
by Deeps
Team,

I am using PKZIP on Mainframe to Zip two files and send to UNIX platform. Well I am successful in sending ZIP file to UNIX platform. The only issue is that the Line feed is missing. Is there any option with PKZIP which will help for a line feed? Thanks for helping.

Re: PKZIP

PostPosted: Sun Apr 27, 2014 5:48 pm
by Robert Sample
Look in the User's Manual at the -CRLF and -DATA_DELIMITER options.

Re: PKZIP

PostPosted: Sun Apr 27, 2014 7:34 pm
by Deeps
Thanks for replying.

I did search the Manual and using below option...still no luck ... If anyone has done this before ...please let me know.
DATA_TYPE(DETECT)
DELIM(LF)

Re: PKZIP

PostPosted: Sun Apr 27, 2014 8:12 pm
by Robert Sample
What are the other PKZIP parameters you are using?

Re: PKZIP

PostPosted: Mon Apr 28, 2014 6:46 pm
by Deeps
I am using below option with above option
-METHOD(NORMAL)
-TERM(LF)
-NOPATH
-TEXT

Re: PKZIP

PostPosted: Mon Apr 28, 2014 8:58 pm
by Robert Sample
You are not very good at independent action nor at reading manuals, are you?

I do not have PKZIP for MVS installed, but I did a Google search on pkzip for mvs and found the User's Guide for version 5.5. On pages 88 through 90 of this User's Guide, the options
-CRLF=C , -DATA_DELIMITER=LF, -FILE_TERMINATOR=CZ are described as providing Unix line feed characters on each line except the last, which has the file termination character. Why did you not find this out for yourself when you read the manual?

Re: PKZIP

PostPosted: Mon Apr 28, 2014 10:19 pm
by Deeps
First of all Thank you very much.

I just did not have enough time to go thru entire manual correctly. I do apologise for this. I am gonna read this now for what I need. Thank you again.