On Fri, 18 Dec 2015 12:43:33 -0800, Charles Mills wrote:

>Trying to be helpful rather than smart*ss here, if you mean "I would prefer
>a JCL-/batch-based solution to a UNIX command line solution" -- and if so I
>
Being a smartass here, this reminds me of trying to make a C library with
JCL instead of OMVS make.

>am sympathetic -- then you should be aware that you can run a UNIX utility
>from JCL. Here is an example. You should be able to run UXIX tar this way in
>a job if you prefer.
>
Here's a tested example:
//*
//*  Symbolics to obfuscate DSNAMEs and meet JCL LRECL limit.
//*      Archive is in legacy data set;  "pax" prefixes like TSO.
//*
//*  pax extracts to UNIX directory hierarchy.
//*    OGETX could copy to PDS(E).  I don't know whether
//*    "Data21's ZIP/390 Product" might eliminate a step.
//*    In either case a multilevel hierarchy makes it harder.
//*
//BPXARCH  EXEC PGM=BPXBATCH,COND=(4,LT),
//  PARM='SH set -x; cd /tmp/&SYSUID; pax -rvf //&ARCH..pax.Z'
//*
//STDIN    DD   DUMMY
//STDOUT   DD   SYSOUT=*
//STDERR   DD   SYSOUT=*
//
(But isn't this really just writing the dreaded shell script in the PARM?)

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to