Step 3. Create z/OS UNIX directory and file structure


Certain directories, sub-directories, and files must exist before transferring the installation package to the z/OS UNIX workspace. To create them, customize and run the sample JCL provided in member TARPREP of your BMC Installer PDS (hlq.CPWR.INS) and shown in the following figure.

Sample JCL to create z/OS UNIX directory and file structure

//jobname JOB (account),'programmer-name',NOTIFY=&SYSUID,
//            MSGLEVEL=(1,1),MSGCLASS=?,CLASS=?,REGION=0M
//*********************************************************************
//* This job will create the directories / files necessary for
//* housing the RFN tarball on your USS workspace.
//*
//* CAUTION: This is not a complete job. Before using this JCL,
//*          you will have to make modifications.
//*
//*   @@@@@> INPUT WITHIN THIS JOB IS CaSe sENsiTivE. <@@@@@@
//*
//* Notes:
//*   1 - Update jobcard as required.REGION=0M is important!
//*   2 - If necessary, change the dataset name on the SYSEXEC DD
//*       card to match the name of your BPX REXX library.
//*   3 - Change all ???????? to the desired USS work directory.
//*       (Be careful with the placement of the '/' character(s).)
//*       NOTE: If your userid does not have authority to create the
//*             desired directory/sub-directories, you may need to
//*             run your job as SuperUser
//*   4 - Change nnnnnnn to the high level portion of the name of the
//*       .tar file that was downloaded earlier.
//*
//* EXAMPLES:
//*   If your USS work directory is sub directory 'work' under
//*   your 'userid' directory, then:
//*        C '????????' '/u/userid/work'
//*   If the downloaded tarball file is 0000005.tar, then:
//*        C 'nnnnnnn' '0000005'
//*********************************************************************
//STEP1   EXEC PGM=IKJEFT01,DYNAMNBR=50
//SYSEXEC  DD  DISP=SHR,DSN=SYS1.SBPXEXEC
//SYSTSPRT DD  SYSOUT=*
//SYSPRINT DD  SYSOUT=*,TERM=TS
//SYSOUT   DD  SYSOUT=*,TERM=TS
//SYSTSIN  DD  *
 oshell   rm -r ????????/rfn
 oshell   mkdir ????????/rfn
 oshell   mkdir ??????/rfn/nnnnnnn
 oshell   mkdir ????/rfn/nts
 oshell   mkdir ??????/rfn/tarball
//

Important

The directory used to replace ???????? must preexist.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*