Looks like unzip doesn't like your input data.   I'll bet that if you
copy it to HFS it will also fail.

What RECFM is the dataset?  If it is RECFM=F*, maybe it has extra
bytes in the last record, in which case unzip probably won't like it.

On Fri, Jul 17, 2009 at 10:18 AM, Vikesh Bhoola<[email protected]> wrote:
> Kirk, thanks for your response.
> I tried
> fromdsn -b //DD:IN   |
>   unzip -p /dev/fd0  |
>   todsn -s ISO8859-1 -t IBM-1047 //DD:OUT
>
> and get the following :
>
> CoZBatchÝN¨: Copyright (C) 2005-2009 Dovetailed Technologies LLC. All rights 
> res
> CoZBatchÝN¨: version 1.3.0 2009-06-11
> CoZBatchÝI¨: executing progname=login-shell="-/bin/sh"
> Ý/dev/fd0¨
>  End-of-central-directory signature not found.  Either this file is not
>  a zipfile, or it constitutes one disk of a multi-part archive.  In the
>  latter case the central directory and zipfile comment will be found on
>  the last disk(s) of this archive.
> todsn(DD:OUT)ÝE¨: error: no input data available
> CEE5213S The signal SIGPIPE was received.
> CoZBatchÝI¨: returning rc=exitcode=103
>
>
> Thanks for all the help,
> Vikesh
>
> Please Note: This email and its contents are subject to our email legal 
> notice which can be viewed at http://www.sars.gov.za/Email_Disclaimer.pdf
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to