Re: PAX command to copy /etc not working as expected

2005-06-15 Thread Marna WALLE
 Just curious...how is that different than my last example:

 pax -rvwk -pe   /ServerPac/zOS_Rx/etc/*   /Service/ImageX/etc

 versus

 (cd /ServerPac/zOS_Rx/etc; pax -rvwk -pe * /Service/ImageX/etc)

I'm not really sure. My interpretation of the pax documentation was that
the from path as specified in the command was copied to the to
subdirectory in its totality. My method did a cd to the from
subdirectory and did not include its name in the pax command. This is
what was different. I am more of a GNU tar user. It has a way around
this by using the -C or --directory= option. It does not appear that
pax has anything similar.

John McKown
Senior Systems Programmer
UICI Insurance Center
Information Technology


Thank you for pointing out this discrepancy in the z/OS Migration book.
I'll get it corrected in the next level of the book (to use the cd command
first).

-Marna Walle
z/OS Build and Install (and technical owner of the z/OS Migration book)
IBM Poughkeepsie

--
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


Re: PAX command to copy /etc not working as expected

2005-06-15 Thread Low, David
 The z/OS 1.6 migration guide tells me that I can run this pax command
 to copy/noreplace my new z/OS 1.6  /etc to a copy of my old /etc
 
 pax -rvwk -pe   /ServerPac/zOS_Rx/etc   /Service/ImageX/etc
 
 However, when I run this, I end up with this:
 
 /Service/ImageX/etc/ServerPac/zOS_Rx/etc
 (the source directory is under the target directory)

I ran into the same problem just today.  FYI, I found apar OA02911 on this very 
problem.

Dave Low

--
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


PAX command to copy /etc not working as expected

2005-06-14 Thread Dave Myers
The z/OS 1.6 migration guide tells me that I can run this pax command
to copy/noreplace my new z/OS 1.6  /etc to a copy of my old /etc

pax -rvwk -pe   /ServerPac/zOS_Rx/etc   /Service/ImageX/etc

However, when I run this, I end up with this:

/Service/ImageX/etc/ServerPac/zOS_Rx/etc
(the source directory is under the target directory)

I want to end up with the new files, dirs etc.  placed
in /Service/ImageX/etc

I tried  variations on the pax commandlike below, but none changed the 
symptom.

pax -rvwk -pe   /ServerPac/zOS_Rx/etc//Service/ImageX/etc
pax -rvwk -pe   /ServerPac/zOS_Rx/etc/*   /Service/ImageX/etc


Any ideas??

Tia 
Dave

Dave Myers
Sirius Enterprise Systems Group
Sr. Systems Engineer
Office Phone:   (303) 996-7112
Cellular Phone: (303) 619-0782
Home Office:(303) 948-0027
Fax:  (303) 706.1713
e-mail: [EMAIL PROTECTED]

--
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


Re: PAX command to copy /etc not working as expected

2005-06-14 Thread McKown, John
 -Original Message-
 From: IBM Mainframe Discussion List 
 [mailto:[EMAIL PROTECTED] On Behalf Of Dave Myers
 Sent: Tuesday, June 14, 2005 12:46 PM
 To: IBM-MAIN@BAMA.UA.EDU
 Subject: Re: PAX command to copy /etc not working as expected
 
 
 Thanks John!
  That worked.
 
 Just curious...how is that different than my last example:
 
 pax -rvwk -pe   /ServerPac/zOS_Rx/etc/*   /Service/ImageX/etc
 
 versus
 
 (cd /ServerPac/zOS_Rx/etc; pax -rvwk -pe * /Service/ImageX/etc)

I'm not really sure. My interpretation of the pax documentation was that
the from path as specified in the command was copied to the to
subdirectory in its totality. My method did a cd to the from
subdirectory and did not include its name in the pax command. This is
what was different. I am more of a GNU tar user. It has a way around
this by using the -C or --directory= option. It does not appear that
pax has anything similar.


--
John McKown
Senior Systems Programmer
UICI Insurance Center
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its'
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.

--
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