Sign In

Dz Challenge: Tips and Techniques Got a great tip or technique to share?
z & A > Dz Challenge: Tips and Techniques > A poor man's programmed operator View modes: 
User avatar
Member
Member
jan - 4/28/2012 10:10:12 AM
   
A poor man's programmed operator
Most sites have automatic operator software implemented. During a z/OS upgrade however, you do not want them to intervene until you have succesfully run the IVP's of the BCP. Typically, you install the base z/OS, including exits, WLM settings, usermod's, import the old master as user catalog, check PARMLIB settings, etc. before you want to invoke the automatic operator on a flash copy. A lot of work to be done, before even attempting to turn on the green lights for customer testing. Your mileage may vary but in my experience it takes a lot of IPL's before you reach that level. Meanwhile you are the sole operator to do the shutdown/IPL sequence. Two things might help. One is to put some automatic replies into in the (z/OS V1R12) AUTORxx PARMLIB member, the second one is to launch a job that does a shutdown of most of the system. I include an example (used while upgrading to z/OS V1R12) below. The first job (JES2 command before JOB card) ensures that JES2 will honor the commands submitted in jobclass(A) between the JOB and the EXEC card. The second job contains a numbers of commands you would have to enter during a normal shutdown without automatic operator. The last command in the example is site specific. What I do is to get out of EDIT sessions, and submit the job. Mind that it does not do all the work, JES2 for instance you have to stop manually.

Example:

/*$TJOBCLASS(A),COMMAND=EXECUTE
//JEDSP001 JOB OS-SETUP,'JED:SP JAN@JEDSP.NET',CLASS=A,
// MSGLEVEL=(1,1),MSGCLASS=X,NOTIFY=&SYSUID,
// REGION=0M
//*
//S0 EXEC PGM=IEFBR14
//*
//JEDSP001 JOB OS-SETUP,'JED:SP JAN@JEDSP.NET',CLASS=A,
// MSGLEVEL=(1,1),MSGCLASS=X,NOTIFY=&SYSUID,
// REGION=0M
// W
// RACF STOP
// F DLF,MODE=DRAIN
// P TNF
// F RMF,NODDR
// P GMPSERVE
// F VMCF,REMOVE
// P TSO
// F HZSPROC,STOP
// F BPXOINIT,SHUTDOWN=FORKINIT
// P OMVS,STOPPFS=ZFS
// P FTPD1
// P FFST
// P HZSPROC
// P LLA
// P VLF
// % STOP
// P SDSF
// P TCPIP
// P RMF
// Z NET,QUICK
// P DLF
// $PJES2,TERM
// V XCF,MVSZ,OFF (reply SYSNAME=MVSZ) <-------Site specific
//S1 EXEC PGM=IEFBR14


User avatar
Advanced member
Advanced member
mwestholder - 5/9/2012 8:49:03 AM
   
RE:A poor man's programmed operator
This entry was selected as a finalist for the Destination z Tips and Techniques Challenge. Vote Now.

1