At 14:37 -0800 on 12/29/2010, Schwarz, Barry A wrote about Re: tar
limitation preventing SAS install:
That is exactly what I did. Unfortunately, when the path includes
multiple directories with more than dozens of characters per
directory name, it doesn't take long to exceed 100 characters.
If the problem is that a tar can not support a directory structure
deeper than 100 characters, then think outside the box. I assume that
you start with the expanded files on your PC, feed the structure to a
tar utility, and then FTP it to the Main Frame where you then untar
it. Why not split the structure up and create multiple tars which you
then FTP and untar and then move the lower level structures to their
location in the untared outer structure. You can also as an
alternative, start at the lower levels and tar them (replacing that
section with the tar). You keep working up taring higher levels
(which include the embedded tars). FTP the full outer tar to the
mainframe and untar working downward. No tar will have any path
longer than 100 characters in either method so you should be able to
recreate the file structure.
IOW: Outer
Inner1
Inner1A
Innner1A1
files
Inner1A2
files
Inner1B
etc.
Inner2
etc.
Tar Inner1A, Inner1B, etc. Then you can tar Outer (after removing
Inner1A, Inner1B, etc.) or replacing them with their TAR'ed versions.
----------------------------------------------------------------------
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