On Fri, 3 Apr 2009 12:10:41 -0500, Paul Gilmartin <[email protected]> wrote:
>On Fri, 3 Apr 2009 11:59:44 -0500, John McKown wrote: >> >>The "jar" command (JAVA archive tool) will extract from stdin, which can be >>a network stream. The jar format is just another name for ZIP, so it should >>work. >> >>wget -O - http://url/file.zip | jar x >> >And "jar" works on z/OS. And, IIRC, Ported Tools includes Curl. >.ZIP looks like the big winner over .ISO here. > >I've used jar to extract to binary; will it extract to EBCDIC? > >-- gil Not as far as I can tell. However, it might be possible to "post process" by doing something like: wget -O - http://url/file.zip |\ #get the file jar xv |\ #unzip and list names to stdout cut -d ':' -f 2|\ #remove prefix output sed 's/^ //' |\ #remove extra blank at the start of the filename while read i;do a2e "$i";done where you have some program (or shell script) called a2e which will convert the contents of the file passed to it from ASCII to EBCDIC. -- John ---------------------------------------------------------------------- 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

