View previous topic :: View next topic
|
Author |
Message |
Zlata
New User
Joined: 08 May 2010 Posts: 5 Location: Russian Federation
|
|
|
|
Hello!
I have hfs file - zzz.hfs and I need to compress it to pax.z format. Can you give a jcl sample of this procedure?
Thank you very much! |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
a quick and dirty google search with PAX +BPXBATCH
returned quite a few hits...
for example
Code: |
//P007393A JOB (11603300),'M.KLAESCHEN',
// MSGCLASS=X,
// MSGLEVEL=(1,1),
// NOTIFY=&SYSUID.,
// TIME=1440,
// REGION=0K,
// CLASS=1
//*
// SET Q=''''
// SET STDOUT=&Q./tmp/STDOUT.&SYSUID.&Q.
// SET STDERR=&Q./tmp/STDERR.&SYSUID.&Q.
//*
//UNTAR0 EXEC PGM=BPXBATCH,
// PARM='PGM /bin/pax -r -z -f /u/p007393/lynx.tar.Z
// -o from=ISO8859-1,to=IBM-1047'
//STDOUT DD PATH='&STDOUT.',
// PATHOPTS=(OWRONLY,OCREAT,OAPPEND),
// PATHMODE=(SIRWXU)
//STDERR DD PATH='&STDERR.',
// PATHOPTS=(OWRONLY,OCREAT,OAPPEND),
// PATHMODE=(SIRWXU)
//STDENV DD DUMMY
//* |
review and modify according to the manuals and your organization standards
nothing that You could not find Yourself |
|
Back to top |
|
|
Zlata
New User
Joined: 08 May 2010 Posts: 5 Location: Russian Federation
|
|
|
|
Thank you for your reply. By the way, I always google before asking, so there is no need mentioning it. Besides it was my first question in the forum, but thanks, I guess, that it is not the right place for me, because of such answer, so I won't bother you with my simple google questions. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
I just pointed out how quickly I found the reply!
if You feel offended... too bad , I have nothing to excuse myself for
it would be very useful for You to read and meditate on
catb.org/~esr/faqs/smart-questions.html
on how to make the best out of asking for help
as ESR says... You did nothing to show that You had done something to help Yourself ! |
|
Back to top |
|
|
Zlata
New User
Joined: 08 May 2010 Posts: 5 Location: Russian Federation
|
|
|
|
I don't need just the first google jcl you saw, but the command to convert zzz.hfs into zzz.pax.z. Maybe it is evident to you, but not to me. The quality of the answer is more important, then just to get any answer. I guess, that's why the forums are for. And can I ask you better not answer at all, than pointing out on google, because it is really rude. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
I don't need just the first google jcl you saw, but the command to convert zzz.hfs into zzz.pax.z. |
review the starting question... You asked for jcl
and the sample posted was exhaustive of the issue
if You had asked for the pax syntax I would have pointed You to the manuals
I never implied that my reply would have been the final solution to Your issue,
after all this a help forum, not a do it for me, nor a manual reading and summarization service
but simply implied that googling You could have found more answer to satisfy Your need
and searching would have been more productive for a problem solving approach
Quote: |
Maybe it is evident to you, but not to me. |
it should be... it' s not me who qualifies himself as System Z Specialist
so You should know better, at least where to look for the proper docs
Quote: |
but the command to convert zzz.hfs into zzz.pax.z. |
then the places to look for the syntax of the command would be
z/OS V1R8.0 UNIX System Services User's Guide
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/BPXZA471/CCONTENTS?SHELF=BPXZSH81&DN=SA22-7801-09&DT=20070109132848
and
z/OS V1R8.0 UNIX System Services User's Guide
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/BPXZA580/CCONTENTS?SHELF=BPXZSH81&DN=SA22-7802-09&DT=20070503124658
no reason to rewrite what somebody else has already done |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Is zzz.hfs a mount point or a directory or a file within a directory of HFS? |
|
Back to top |
|
|
Zlata
New User
Joined: 08 May 2010 Posts: 5 Location: Russian Federation
|
|
|
|
Robert Sample wrote: |
Is zzz.hfs a mount point or a directory or a file within a directory of HFS? |
It is a mountpoint for directory /z for example. I have 3 such files: two are with automount option and reside on sms-managed volume and one is just ordinary hfs ) |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
You cannot use pax on zzz.hfs -- although your OMVS or telnet session could use pax on the /z directory. zzz.hfs is an MVS file name and as such resides outside the Unix System Services infrastructure. |
|
Back to top |
|
|
Zlata
New User
Joined: 08 May 2010 Posts: 5 Location: Russian Federation
|
|
|
|
Robert Sample wrote: |
You cannot use pax on zzz.hfs -- although your OMVS or telnet session could use pax on the /z directory. zzz.hfs is an MVS file name and as such resides outside the Unix System Services infrastructure. |
Okey, I see, that's why I couldn't find how to do that... Thank you ) |
|
Back to top |
|
|
|