Re: bootstrapping the GZIP for z/OS install

2016-03-03 Thread David Crayford

On 2/03/2016 8:07 PM, Vince Coen wrote:

Just of of completeness you can call the program direct if you have not
yet set up the paths by running :


/bin/gzip -V[ etc ]


Yikes! What's gzip doing in /bin on a z/OS system?


That said the bin directory should already be in the search paths so
check it via
echo $PATH

If not add it to your profile (or for all users if wanted).
.
  
Vince



On 02/03/16 04:44, Bruce Hewson wrote:

Hello David,

thank you - that worked.


1st:-
ITSXSA3:/u/bruce: >cd bin
ITSXSA3:/u/bruce/bin: >gzip --version
gzip 1.2.4 (18 Aug 93)
Compilation options:
DIRENT UTIME HAVE_UNISTD_H


2nd:
ITSXSA3:/u/bruce/local/gzip/gzip-1.6-edc/bin: >gzip --version
gzip 1.6
Copyright (C) 2007, 2010, 2011 Free Software Foundation, Inc.
Copyright (C) 1993 Jean-loup Gailly.
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License .
There is NO WARRANTY, to the extent permitted by law.

Written by Jean-loup Gailly.




Regards
Bruce Hewson

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN





--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: bootstrapping the GZIP for z/OS install

2016-03-02 Thread David Crayford

On 3/03/2016 11:13 AM, David Crayford wrote:



On 3/03/2016 11:04 AM, Paul Gilmartin wrote:

On Thu, 3 Mar 2016 10:23:12 +0800, David Crayford  wrote:

I've got no idea why Rocket would choose to use tarballs. It would have
been a much better idea to use compressed pax archives like the 
original

IBM ported tools.


Yes.  But on (some) GNU Linux:

man pax
 ...
  -z  Use the gzip(1) utility to compress (decompress) the 
archive while writing

  (reading).  Incompatible with -a.

Ouch!  Gnu's Not Unix.



I think we can take it as a given that z/OS pax uses proprietary 
compression. Although I wonder if it will use gzip compression if the 
customer has zEDC?





Nope! It says in the book that it uses Lempel-Ziv compression so I was 
wrong.




-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: bootstrapping the GZIP for z/OS install

2016-03-02 Thread David Crayford

On 3/03/2016 11:04 AM, Paul Gilmartin wrote:

On Thu, 3 Mar 2016 10:23:12 +0800, David Crayford  wrote:

I've got no idea why Rocket would choose to use tarballs. It would have
been a much better idea to use compressed pax archives like the original
IBM ported tools.


Yes.  But on (some) GNU Linux:

man pax
 ...
  -z  Use the gzip(1) utility to compress (decompress) the archive 
while writing
  (reading).  Incompatible with -a.

Ouch!  Gnu's Not Unix.



I think we can take it as a given that z/OS pax uses proprietary 
compression. Although I wonder if it will use gzip compression if the 
customer has zEDC?





-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: bootstrapping the GZIP for z/OS install

2016-03-02 Thread Paul Gilmartin
On Thu, 3 Mar 2016 10:23:12 +0800, David Crayford  wrote:
>
>I've got no idea why Rocket would choose to use tarballs. It would have
>been a much better idea to use compressed pax archives like the original
>IBM ported tools.
> 
Yes.  But on (some) GNU Linux:

man pax
...
 -z  Use the gzip(1) utility to compress (decompress) the archive while 
writing
 (reading).  Incompatible with -a.

Ouch!  Gnu's Not Unix.

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: bootstrapping the GZIP for z/OS install

2016-03-02 Thread David Crayford

On 3/03/2016 1:24 AM, Paul Gilmartin wrote:

I'm calling Rocket remiss in providing a gzip that can't be bootstrapped
using only base z/OS facilities.  Hardly forgiven in that many desktop
systems (which Rocket may have used for packaging) provide uncompress
but not compress because of (expired) patent restrictions.  Even worse,
some provide gzip but misname it "compress".


I've got no idea why Rocket would choose to use tarballs. It would have 
been a much better idea to use compressed pax archives like the original 
IBM ported tools.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: bootstrapping the GZIP for z/OS install

2016-03-02 Thread Paul Gilmartin
On Wed, 2 Mar 2016 12:03:05 -0500, Rick Troth wrote:

>On 03/02/2016 12:50 AM, Jack J. Woehr wrote:
>>> So I go and download the GZip for z/OS package, and  it says use
>>> 'gzip' as the 1st step to install from the supplied '*.tar.gz' file.
>>
>> If you have Gnu tar on the system, tar takes a gzip switch
>>
>>tar zxvf myfile.tgz
>
>Right, but 'tar' handles GZipped archives by running 'gzip' in a
>pipeline under the covers.
>(I say ... basing that on first hand experience with Gnu tar. If IBM or
>MKS added some built-in GZip capability to their implementation of 'tar'
>that would be handy.)
> 
I'm calling Rocket remiss in providing a gzip that can't be bootstrapped
using only base z/OS facilities.  Hardly forgiven in that many desktop
systems (which Rocket may have used for packaging) provide uncompress
but not compress because of (expired) patent restrictions.  Even worse,
some provide gzip but misname it "compress".

Hmmm...  I believe gzip uses the Deflate algorithm and jar probably
embeds Deflate.  But I suppose the wrappers are incompatible.  In
extremis, Rocket could have zipped (or jarred) a .tar file and specified
jar followed by tar to extract.

Hmmm...  Is jar base z/OS, or separately ordered, or separately priced?

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: bootstrapping the GZIP for z/OS install

2016-03-02 Thread Rick Troth

On 03/02/2016 12:50 AM, Jack J. Woehr wrote:
So I go and download the GZip for z/OS package, and  it says use 
'gzip' as the 1st step to install from the supplied '*.tar.gz' file.


If you have Gnu tar on the system, tar takes a gzip switch

   tar zxvf myfile.tgz 


Right, but 'tar' handles GZipped archives by running 'gzip' in a 
pipeline under the covers.
(I say ... basing that on first hand experience with Gnu tar. If IBM or 
MKS added some built-in GZip capability to their implementation of 'tar' 
that would be handy.)


-- R; <><




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: bootstrapping the GZIP for z/OS install

2016-03-02 Thread Vince Coen
Just of of completeness you can call the program direct if you have not
yet set up the paths by running :

> /bin/gzip -V[ etc ]

That said the bin directory should already be in the search paths so
check it via
echo $PATH

If not add it to your profile (or for all users if wanted).
.
 
Vince


On 02/03/16 04:44, Bruce Hewson wrote:
> Hello David,
>
> thank you - that worked.
>
>
> 1st:-
> ITSXSA3:/u/bruce: >cd bin
> ITSXSA3:/u/bruce/bin: >gzip --version
> gzip 1.2.4 (18 Aug 93)
> Compilation options:
> DIRENT UTIME HAVE_UNISTD_H
>
>
> 2nd:
> ITSXSA3:/u/bruce/local/gzip/gzip-1.6-edc/bin: >gzip --version
> gzip 1.6
> Copyright (C) 2007, 2010, 2011 Free Software Foundation, Inc.
> Copyright (C) 1993 Jean-loup Gailly.
> This is free software.  You may redistribute copies of it under the terms of
> the GNU General Public License .
> There is NO WARRANTY, to the extent permitted by law.
>
> Written by Jean-loup Gailly.
>
>
>
>
> Regards
> Bruce Hewson
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>


-- 
- IMPORTANT – 

This email and the information in it may be confidential, legally privileged 
and/or protected by law. 
It is intended solely for the use of the person to whom it is addressed. 
If you are not the intended recipient, please notify the sender immediately 
and do not disclose the contents to any other person, use it for any purpose,
or store or copy the information in any medium.

Please also delete all copies of this email & any attachments from your system.

If this is an encrypted email it is your responsibility to maintain the 1024 
byte key system even for one-use keys. Once mail has been sent the sending key 
is not kept and therefore a replacement mail cannot be resent.

We cannot guarantee the security or confidentiality of non encrypted email 
communications. 
We do not accept any liability for losses or damages that you may suffer as a 
result of your receipt of this email including but not limited to computer 
service or system failure, access delays or interruption, data non-delivery 
or mis-delivery, computer viruses or other harmful components.

Copyright in this email and any attachments belongs to Applewood Computers.
Should you communicate with anyone at Applewood Computers by email, 
you consent to us monitoring and reading any such correspondence.

Nothing in this email shall be taken or read as suggesting, proposing or 
relating to any agreement concerted practice or other practice that could 
infringe UK or EC competition legislation (unless it is against Security 
requirements).

This Email and its attachments (if any) are scanned for virii using Clamd 
and ClamAV 0.98.8 or later (Linux x64).

Dykegrove Limited T/A Applewood Computers is a company registered in England 
(no. 01681349) whose registered office is at Applewood House, 
17 Stag Green Avenue, Hatfield, Hertfordshire, AL9 5EB, UK.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: bootstrapping the GZIP for z/OS install

2016-03-01 Thread Jack J. Woehr

Bruce Hewson wrote:

So I go and download the GZip for z/OS package, and  it says use 'gzip' as the 
1st step to install from the supplied '*.tar.gz' file.

If you have Gnu tar on the system, tar takes a gzip switch

   tar zxvf myfile.tgz


--
Jack J. Woehr # Science is more than a body of knowledge. It's a way of
www.well.com/~jax # thinking, a way of skeptically interrogating the universe
www.softwoehr.com # with a fine understanding of human fallibility. - Carl Sagan


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: bootstrapping the GZIP for z/OS install

2016-03-01 Thread Bruce Hewson
Hello David,

thank you - that worked.


1st:-
ITSXSA3:/u/bruce: >cd bin
ITSXSA3:/u/bruce/bin: >gzip --version
gzip 1.2.4 (18 Aug 93)
Compilation options:
DIRENT UTIME HAVE_UNISTD_H


2nd:
ITSXSA3:/u/bruce/local/gzip/gzip-1.6-edc/bin: >gzip --version
gzip 1.6
Copyright (C) 2007, 2010, 2011 Free Software Foundation, Inc.
Copyright (C) 1993 Jean-loup Gailly.
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License .
There is NO WARRANTY, to the extent permitted by law.

Written by Jean-loup Gailly.




Regards
Bruce Hewson

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: bootstrapping the GZIP for z/OS install

2016-03-01 Thread David Crayford
You can find the older pre-Rocket version of ported tools here 
http://www-03.ibm.com/systems/z/os/zos/features/unix/bpxa1ty1.html.


On 2/03/2016 10:23 AM, Bruce Hewson wrote:

Well, there I was trying to install Perl for z/OS Unix, and it says use 'gzip' 
as the 1st step to install from the supplied '*.tar.gz' file.

So I go and download the GZip for z/OS package, and  it says use 'gzip' as the 
1st step to install from the supplied '*.tar.gz' file.

I tried a few things but couldn't get anything to work.

Even dropped a note to Rocket support via their website, so far no response, 
but I did miss one phone call, which may have been them.

Has anyone a suggestion on how to get GZip for z/OS installed, without already 
having GZIP installed?

Thanks
Bruce Hewson

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN