Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

PAX Z JCL for HFS Dataset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Zlata

New User


Joined: 08 May 2010
Posts: 5
Location: Russian Federation

PostPosted: Tue Jun 08, 2010 9:12 pm    Post subject: PAX Z JCL for HFS Dataset
Reply with quote

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
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Tue Jun 08, 2010 9:25 pm    Post subject: Reply to: PAX Z JCL for HFS Dataset
Reply with quote

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
View user's profile Send private message
Zlata

New User


Joined: 08 May 2010
Posts: 5
Location: Russian Federation

PostPosted: Tue Jun 08, 2010 9:33 pm    Post subject: Re: Reply to: PAX Z JCL for HFS Dataset
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Tue Jun 08, 2010 9:37 pm    Post subject: Reply to: PAX Z JCL for HFS Dataset
Reply with quote

I just pointed out how quickly I found the reply!
if You feel offended... too bad , I have nothing to excuse myself for icon_evil.gif

it would be very useful for You to read and meditate on
http://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
View user's profile Send private message
Zlata

New User


Joined: 08 May 2010
Posts: 5
Location: Russian Federation

PostPosted: Tue Jun 08, 2010 9:58 pm    Post subject: Re: Reply to: PAX Z JCL for HFS Dataset
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Tue Jun 08, 2010 10:02 pm    Post subject: Reply to: PAX Z JCL for HFS Dataset
Reply with quote

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
http://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
http://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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Tue Jun 08, 2010 10:26 pm    Post subject:
Reply with quote

Is zzz.hfs a mount point or a directory or a file within a directory of HFS?
Back to top
View user's profile Send private message
Zlata

New User


Joined: 08 May 2010
Posts: 5
Location: Russian Federation

PostPosted: Tue Jun 08, 2010 10:29 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Tue Jun 08, 2010 10:42 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Zlata

New User


Joined: 08 May 2010
Posts: 5
Location: Russian Federation

PostPosted: Tue Jun 08, 2010 10:44 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us