On Friday 19 June 2009, Vikesh Bhoola wrote:
> > You might try double quotes around the file name construct,
> > with single quotes embedded to prevent prefixing; so:
> >
> > /u/userid/zip31b: >zip -av -1 /tmp/BIG_FILE.zip
> > "//'userid.BIG.FILE'"


    This should do the trick:

/u/userid/zip31b: >zip -av -1 /tmp/BIG_FILE.zip //\'userid.BIG.FILE\'

The single quotes have to be escaped. (If this is the same userid you're 
currently logged in as, you don't need to specify the userid or the 
quotes.)

    It's not relevant for this file, but if the MVS file you are 
referencing in Unix land is a PDS member, you have to escape the 
parentheses, too, like this:

//\'userid.BIG.PDS\(MEMBER\)\'


Cheers,
Bob

----
Bob Woodside
Woodsway Consulting, Inc.
rwoodsi...@woodsway.com
http://www.woodsway.com


> Thanks, I tried that, still get :
>
> /u/userid/zip31b: >zip -av -1 /tmp/BIG_FILE.zip "//'userid.BIG.FILE'"
> Translating to ASCII...
>         zip warning: name not matched: //'userid.BIG.FILE'
>
> zip error: Nothing to do! (/tmp/BIG_FILE.zip)
> 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to