On Wed, 2010-11-10 at 16:07 -0800, John Norgauer wrote:
> Hi John,
> 
> Thanks for the response. I guess I should have given you more info.
> 
> I have mounted on my z/OS 1.11 system, my z/OS 1.9 etc file system. With 
> this in mind, how would I do this copy function?
> 
> Thanks. 
>
> John Norgauer

Most likely, I'd just use "cp" to copy the files that I needed to copy.
If I wanted to copy __all__ of them, I'd use "pax". In either case, I'd
be in a UNIX shell from TSO OMVS or ssh or telnet. Most likely TSO OMVS.

In the following, assume that you are on the 1.11 system. The /etc from
the 1.9 system is mounted on is in the "root" and the 1.9 "root" is
mounted on /oldroot. So the 1.9 system's /etc would map
to /oldroot/etc . I also assume you can "su" to root.

su - #change to root user
cd /oldroot/etc
pax -rw -v -pe ssh /etc
exit #from root
exit #from UNIX shell

Now, if you want, you could also use "plain" TSO/ISPF and ISHELL. On the
first screen of ISHELL, on the upper right is "Setup". Place the cursor
within the word and press enter. You'll get an ISPF dialog box with a
bunch of options. Option 7 is "Enable superuser mode(SU)". Type in 7 and
press enter. Your TSO session is now running as a super user. On the
bottom left, you should now see "EUID=0". On the left in the middle, you
can put in a UNIX path. Put in the path to the 1.9 ssh subdirectory:

/oldroot/etc/ssh

You now have a list of files that look a bit like what you see in option
3.4. For each file that you want to copy, one at a time, put a "c" in
front of it and press ENTER. You'll get an ISPF dialog box. Use "1" for
a "File..." copy and press ENTER. This brings up another ISPF dialog box
where the destination is the same as the source. Remove the leading
"/oldroot" so that you'd see something like:

/etc/ssh/the.name.of.the.file.to.copy

Press ENTER. Rinse, repeat as necessary.

When you're finished, go back to the ISHELL main screen. Put the cursor
on Setup again. Press ENTER. Select option 7 again to return to your
normal UID in TSO.




-- 
John McKown
Maranatha! <><

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