Ive blogged
<https://colinpaice.blog/2021/01/08/how-to-backup-only-key-data-sets-on-z-os/>
about using DFDSS to backup datasets.
You may then want to use AMATERSE to terse it.

I have some JCL to restore an MQ package
//S1      EXEC PGM=AMATERSE,PARM=UNPACK
//SYSPRINT DD  SYSOUT=*
//SYSUT1 DD DISP=SHR,DSN=COLIN.MQ933.TRS
//SYSUT2 DD DSN=&&TEMP,SPACE=(CYL,(100,100)),DISP=(,PASS),
// VOL=SER=(C4USS2,C4USS1),UNIT=3390,STORCLAS=SCNOSMS

//S2        EXEC PGM=ADRDSSU,REGION=0M
//SYSPRINT DD SYSOUT=*
//DD1      DD DISP=SHR,DSN=*.S1.SYSUT2
//SYSIN    DD *
   RESTORE -
   IMPORT -
   INDDNAME(DD1) -
   CANCELERROR -
   DATASET(INCLUDE(**)) -
   RENAMEU( -
  (**.SCSQANLC,COLIN.MQ930.SCSQANLC) -
  ...
  (**.SCSQTBLU,COLIN.MQ930.SCSQTBLU) -
  ) -
  SHARE -
  NULLMGMTCLAS -
  NULLSTORCLAS -
  CATALOG
//*

This is soooo  much easier than trying to use SMP/E

Colin

On Wed, 23 Aug 2023 at 07:30, Jon Perryman <[email protected]> wrote:

>  Since you don't have a good understanding of SMP/e, you might want to
> consider DFDSS instead of SMP/e.
> Creating a function is the easy part. SMP/e is a philosophy that requires
> planning, setup and tools. Are you going to apply PTF's and apars, need
> SMP/e zones, UCLIN, JCLIN, link to modules, object modules and much more.
> If you have a problem with pre and coreqs, do you have the skills to
> resolve it.
>
>     On Tuesday, August 22, 2023 at 04:12:03 AM PDT, Clem Clarke <
> [email protected]> wrote:
>
>  I have some PDSes that need to be installed with SMP on Z/OS.
>
> A couple are text files, one an object file and one a load module PDS.
> They all have multiple members.
>
> What would be the easiest way to create a files that can be installed
> with SMP?
>
> Many thanks,
>
> Clem Clarke
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>

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

Reply via email to