Print Email

Get out the Vote

Voting is underway for the Dz Tips and Techniques Challenge!

5/9/2012 3:14:45 AM | Voting is now underway for the first Destination z Tips and Techniques contest. Out of nearly 40 entries, our expert panel selected three finalists. Now Destination z members will vote for their favorite.

The top vote-getter will received a zEnterprise 114 LEGO model. Voters are also encouraged to post why they like a particular tip or technique. As an added incentive, one such voter who posts a comment will be selected, at random, to also win a z114 LEGO model! So get out and vote.

Both models are being provided courtesy of contest sponsor and Destination z partner Trident Services.

The finalists are:

1. Figuring the age of a Temporary Storage Queue
When you use Temporary Storage Queues to share data between CICS transactions, it is often necessary to run a periodic "clean up" transaction, which will delete obsolete TS Queues - these are Queues that have not been used for some time.

In these cases, you can use the INQUIRE TSQUEUE with the LASTUSEDINT option. This will return the interval in seconds since the TS Queue was last referenced.

2. 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 successfully run the Imp’s of the BCP. Typically, you install the base z/OS, including exits, WLM settings and 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. There’s 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

3. COMPARE SESSION command
Consider that you are editing a file/program and you want to know the changes you have done since the last SAVE command. How to find that?

Give "COMPARE SESSION" or "COMP * X" on the command line.


To cast your vote and offer feedback on your favorite finalist, visit the Destination z Community Forum. Voting will close Friday, May 18. Contest rules are available here.

Mike Westholder is site editor of Destinationz.org.

Please sign in to comment.

Sign In


Khan
Tip 3 is very usefull
5/14/2012 9:55:41 AM
Join Now!
Social Media and z Systems: A Personal Journey

Social Media and z Systems: A Personal Journey

Read more »

Migration Path

Migration Path

Learn a new approach and prepare for migrating a DB2 system or a DB2 data sharing group with z/OSMF.

Read more »