54
Technical University/Symposia materials may not be reproduced in whole or in part without the prior written permission of IBM. 9.0 zZS45: Small Stuff You May Want To Use in z/OS Episode 2014A Marna WALLE, [email protected] z/OS System Installation Member of the IBM Academy of Technology IBM Systems and Technology Group, Poughkeepsie

z/OS Small Enhancements - Episode 2014A

Embed Size (px)

Citation preview

Page 1: z/OS Small Enhancements - Episode 2014A

Technical University/Symposia materials may not be reproduced in whole or in part without the prior written permission of IBM.9.0

zZS45:Small Stuff You May Want To Use in z/OS

Episode 2014A

Marna WALLE, [email protected]

z/OS System Installation

Member of the IBM Academy of Technology

IBM Systems and Technology Group, Poughkeepsie

Page 2: z/OS Small Enhancements - Episode 2014A

2 © 2014 IBM Corporation

TrademarksThe following are trademarks of the International Business Machines Corporation in the United States, other countries, or both.

The following are trademarks or registered trademarks of other companies.

* All other products may be trademarks or registered trademarks of their respective companies.

Notes:

Performance is in Internal Throughput Rate (ITR) ratio based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput that any user will experience will vary depending upon considerations such as the amount of multiprogramming in the user's job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve throughput improvements equivalent to the performance ratios stated here.

IBM hardware products are manufactured from new parts, or new and serviceable used parts. Regardless, our warranty terms apply.

All customer examples cited or described in this presentation are presented as illustrations of the manner in which some customers have used IBM products and the results they may have achieved. Actual environmental costs and performance characteristics will vary depending on individual customer configurations and conditions.

This publication was produced in the United States. IBM may not offer the products, services or features discussed in this document in other countries, and the information may be subject to change without notice. Consult your local IBM business contact for information on the product or services available in your area.

All statements regarding IBM's future direction and intent are subject to change or withdrawal without notice, and represent goals and objectives only.

Information about non-IBM products is obtained from the manufacturers of those products or their published announcements. IBM has not tested those products and cannot confirm the performance, compatibility, or any other claims related to non-IBM products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of those products.

Prices subject to change without notice. Contact your IBM representative or Business Partner for the most current pricing in your geography.

Adobe, the Adobe logo, PostScript, and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States, and/or other countries.Cell Broadband Engine is a trademark of Sony Computer Entertainment, Inc. in the United States, other countries, or both and is used under license therefrom.

Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both. Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both.Intel, Intel logo, Intel Inside, Intel Inside logo, Intel Centrino, Intel Centrino logo, Celeron, Intel Xeon, Intel SpeedStep, Itanium, and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries.UNIX is a registered trademark of The Open Group in the United States and other countries.

Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both. ITIL is a registered trademark, and a registered community trademark of the Office of Government Commerce, and is registered in the U.S. Patent and Trademark Office.IT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency, which is now part of the Office of Government Commerce.

For a complete list of IBM Trademarks, see www.ibm.com/legal/copytrade.shtml:

*, AS/400®, e business(logo)®, DBE, ESCO, eServer, FICON, IBM®, IBM (logo)®, iSeries®, MVS, OS/390®, pSeries®, RS/6000®, S/30, VM/ESA®, VSE/ESA, WebSphere®, xSeries®, z/OS®, zSeries®, z/VM®, System i, System i5, System p, System p5, System x, System z, System z9®, BladeCenter®

Not all common law marks used by IBM are listed on this page. Failure of a mark to appear does not mean that IBM does not use the mark nor does it mean that the product is not actively marketed or is not significant within its relevant market.

Those trademarks followed by ® are registered trademarks of IBM in the United States; all others are trademarks or common law marks of IBM in the United States.

Notice Regarding Specialty Engines (e.g., zIIPs, zAAPs and IFLs):Any information contained in this document regarding Specialty Engines ("SEs") and SE eligible workloads provides only general descriptions of the

types and portions of workloads that are eligible for execution on Specialty Engines (e.g., zIIPs, zAAPs, and IFLs). IBM authorizes customers to use

IBM SE only to execute the processing of Eligible Workloads of specific Programs expressly authorized by IBM as specified in the “Authorized Use

Table for IBM Machines” provided at www.ibm.com/systems/support/machine_warranties/machine_code/aut.html (“AUT”).

No other workload processing is authorized for execution on an SE.

IBM offers SEs at a lower price than General Processors/Central Processors because customers are authorized to use SEs only to process certain

types and/or amounts of workloads as specified by IBM in the AUT.

Page 3: z/OS Small Enhancements - Episode 2014A

3 © 2014 IBM Corporation

• Everyone, right now:

•Learning about new content from releases

•Learning about new content from PTFs

• z/OS V2.1:

�BCP: Dynamic SYSDSN ENQ downgrade�BCP: Add and remove MCS consoles dynamically

�BCP: Dynamic system symbol support�BCP: DISPLAY PPT

�BCP: BCP parmlib comments• z/OS V1.13:

�z/OS UNIX: Non-privileged user mount

• z/OS V1.12:

�BCP: Timed Event Data Report – Dig more out of it

�DFSMS: IDCAMS DELETE All Members, plus more!• z/OS V1.11:

�BCP: DELMIGDS for IEFBR14

�Communications Server: syslogd browser and search

� Older than the hills:

•z/OS UNIX: REMOUNT to change the mount mode

•z/OS UNIX: submit with cron

•ISPF: Member search commands

Small Stuff You May Want To Use in z/OS

Page 4: z/OS Small Enhancements - Episode 2014A

4 © 2014 IBM Corporation

© 2007 IBM Corporation

Everyone, right now! Learning about new content in z/OS releases –

IBM Education Assistance

�Scoped PDFs files that cover a single enhancement, or group of related enhancements.

�Installation and migration information, includes two MP3 recordings from SHARE in Boston 2013.

�z/OS V2.1 has 113 files for you!

�Divided into categories of value.

�Subdivided into elements.

�Try it out here! IBM z/OS V2.1 Education Assistance

�z/OS V1.13 IBM Education Assistant information still available here: IBM z/OS V1.13 Education Assistant

�Contains PDFs and some MP3s in an InfoCenter format.

Page 5: z/OS Small Enhancements - Episode 2014A

5 © 2014 IBM Corporation

© 2007 IBM Corporation

Everyone, right now! Learning about new content in z/OS releases –IBM Education Assistance

Page 6: z/OS Small Enhancements - Episode 2014A

6 © 2014 IBM Corporation

© 2007 IBM Corporation

Everyone, right now! Learning about new content in z/OS stack PTFs –

My Notifications

�Receive notification when a z/OS platform APAR has closed.

�Instructions are found in an ATS Techdoc: ATS TechDoc PRS5188

�Signup through IBM Support Portal, new option added for subscription!

�All z/OS platform new function PTFs will be identified to you.

Found through:

1. Manage support notifications

2. Subscribe

3. System z

4. z/OS – OS and related Software

5. Document type: New Function APARs

Page 7: z/OS Small Enhancements - Episode 2014A

7 © 2014 IBM Corporation

© 2007 IBM Corporation

Everyone, right now! Learning about new content in z/OS stack PTFs –My Notifications

Sample email

Page 8: z/OS Small Enhancements - Episode 2014A

8 © 2014 IBM Corporation

= Sysprog

= Sysprog & Users © 2007 IBM Corporation

z/OS V2R1

Small Enhancements

�BCP: Dynamic SYSDSN ENQ downgrade

�BCP: Add and remove MCS consoles dynamically

�BCP: Dynamic system symbol support

�BCP: DISPLAY PPT

�BCP: BCP parmlib comments

Page 9: z/OS Small Enhancements - Episode 2014A

9 © 2014 IBM Corporation

� What: The ability to allow a SYSDSN enqueue downgrade for batch jobs, when

appropriate. This allows the possibility for better batch parallelism.

� How to use:

– Must coordinate ability between JES2 JOBCLASS attribute DSENQSHR and

JCL JOB keyword DSENQSHR. Defaults to off.

– JES2 JOBCLASS attribute: DSENQSHR=AUTO|ALLOW|DISALLOW

– ALLOW allows a downgrade only when JCL has ALLOW

– AUTO allows a downgrade when JCL has ALLOW or USEJC

– JCL JOB keyword: DSENQSHR=ALLOW|USEJC|DISALLOW

– USEJC allows downgrade only when jobclass is AUTO

– ALLOW allows a downgrade when JOBCLASS has AUTO or ALLOW

� Considerations:

– SYSDSN enqueue downgrade occurs once in a job per data set. You can have enqueue downgrades for different data sets at different steps.

– Prior to this enhancement, the exclusive enqueue was held until the end of the job, even if all subsequent steps were DISP=SHR. Review your DISP= coding to make sure it is accurate before using this enhancement, and you weren’t relying on prior behavior.

– Downgrading the SYSDSN enqueue for one job, may allow other jobs to take advantage of the shared enqueue without those jobs needing to be updated.

z/OS V2R1 Enhancements

BCP: Dynamic SYSDSN ENQ downgrade

Page 10: z/OS Small Enhancements - Episode 2014A

10 © 2014 IBM Corporation

//LONG JOB (accounting),DSENQSHR=ALLOW

//STEP1 EXEC PGM=WHATEVER

//NEW DD DSN=MY.DATA.SET,DISP=NEW

//STEP2 EXEC PGM=SOMEPGM

//OLD DD DSN=MY.DATA.SET,DISP=MOD

//STEP3 EXEC PGM=PROGM2

//SHRNOW DD DSN=MY.DATA.SET,DISP=SHR

//STEP4 EXEC PGM=WRITER

//OLDAGAIN DD DSN=MY.DATA.SET,DISP=OLD

//STEP5 EXEC PGM=SOWHAT

//SHRAGIN DD DSN=MY.DATA.SET,DISP=SHR

//STEP6 EXEC PGM=WHOKNOWS

//STILLSHR DD DSN=MY.DATA.SET,DISP=SHR

z/OS V2R1 Enhancements

BCP: Dynamic SYSDSN ENQ downgrade

//WAITING JOB (accounting)

//STEP1 EXEC PGM=READER

//JUSTSHR DD DSN=MY.DATA.SET,DISP=SHR

//STEP2 EXEC PGM=READ2

//STILLSHR DD DSN=MY.DATA.SET,DISP=SHR

//WAITIN2 JOB (accounting)

//STEP1 EXEC PGM=READER

//JUSTSHR DD DSN=MY.DATA.SET,DISP=SHR

//STEP2 EXEC PGM=READ2

//STILLSHR DD DSN=MY.DATA.SET,DISP=SHR

Exclusive ENQ,

until STEP4 is done

Now, shared ENQ,

Other jobs may run

Page 11: z/OS Small Enhancements - Episode 2014A

11 © 2014 IBM Corporation

� What: The ability to add and delete consoles without an outage using operator

commands, when in Distributed mode. � How to use:

– SET CON=xx processes operational settings and creates new consoles found in

that CONSOLxx parmlib member

– New SMCS or subsystem consoles will be defined sysplex-wide (even pre-

V2R1)

– Cannot add the system console (SYSCON) dynamically

– Only specified statements will be processed (absence will not mean default)

– SETCON DELETE,CN=nnnnnnn deletes that inactive console from the sysplex

– Applies to MCS, HMCS, SMCS, Subsystem, as well as, EMCS consoles

– Can delete an inactive console from a system that didn’t define it (even pre-

V2R1)

� Considerations: May choose to replace samplib program IEARELCN (removes inactive EMCS consoles) with SETCON DELETE.

– If you decide to use the specified CONSOLxx parmlib members for subsequent IPLs, you’ve hardened the usage of the consoles you added.

z/OS V2R1 Enhancements

BCP: Add and remove MCS consoles dynamically

Page 12: z/OS Small Enhancements - Episode 2014A

12 © 2014 IBM Corporation

Example: remove an inactive MCS console, then add it back in.

Page 13: z/OS Small Enhancements - Episode 2014A

13 © 2014 IBM Corporation

� What: The ability to add or change system symbols in a supported way on a local system. Two new methods are provided to do this: SETLOAD xx,IEASYM and IEASYMU2.

� How to use:

� SETLOAD xx,IEASYM “starts fresh and ready for next IPL” : This indicates to process the IEASYM statement in LOADxx found in your parmlib concatenation. (There is a SETLOAD xx,IEASYM,DSNAME=dd,VOLUME=vv. if you want to point to a data set outside the parmlib concatenation.)

� IEASYMU2 “the accumulator” replaces IEASYMUP. IEASYMU2 is similar to IEASYMUP, in that you can run a batch job to update the system symbols. The same FACILITY class profile (IEASYMUP.*) is used.

– However, IEASYMU2 changes (or a continued use of IEASYMUP, for that matter) will not be reflected when you do a subsequent SETLOAD xx,IEASYM .

– No changes in the limit in the number of system symbols: remains at least 800 symbols.

– A new complete system symbol table is built. The prior system symbol table remains allocated. Therefore, it’s better to do fewer rebuilds than more rebuilds.

� Considerations: Don’t use the old unsupported method (IEASYMUP) anymore. Understand the interactions between SETLOAD xx,IEASYM, IEASYMU2, and IEASYMUP, as your IEASYMU2 / IEASYMUP changes will be lost when a SETLOAD xx,IEASYM is done.

– If you decide to use specified LOADxx parmlib member for subsequent IPLs, you’ve hardened the usage the symbols you’ve changed with the SETLOAD xx,IEASYM .

z/OS V2R1 Enhancements

BCP: Dynamic system symbol support

Page 14: z/OS Small Enhancements - Episode 2014A

14 © 2014 IBM Corporation

� What: A new system-defined symbol to indicate the z/OS release.

– The format for z/OS is: Z1vvrrmm

– z/OS V2 R1 is: Z1020100� How to use:

– Use it as you wish and where allowed to: in data set names, etc.

� Considerations: If you defined a system symbol to do this yourself, consider using the system-defined one instead. z/OS defines six for you.

z/OS V2R1 Enhancements

BCP: A BONUS system symbol - &SYSOSLVL !!

Page 15: z/OS Small Enhancements - Episode 2014A

15 © 2014 IBM Corporation

� What: A new system command to display the currently effective program properties table (PPT). Including options to show: – ALL: all the entries in the PPT

– PARMLIB: entries specified from SCHEDxx

– DEFAULT: entries that are IBM-supplied defaults and have not been re-specified by SCHEDxx

– NAME=pattern: entries that match a pattern (wildcards accepted)� How to use: D PPT or D PPT,options� Example:

D PPT

IEF386I 20.58.57 DISPLAY PPT 837

Parmlib Values

PgmName NC NS PR ST ND BP Key 2P 1P NP NH CP

ADRDSSU . . . . . Y 8 . . . . .

AFPS010S . Y . Y Y . 1 . . Y . .

Default Values

PgmName NC NS PR ST ND BP Key 2P 1P NP NH CP

APSHPOSE . Y . Y Y . 1 . . Y . .

APSKAFPD . Y . Y Y . 1 . . Y . .

Reference

Synonym -------------Meaning--------------- ----SCHEDxx keyw

NC Non-cancelable NOCANCEL

NS Non-swappable NOSWAP

PR Privileged PRIV …

z/OS V2R1 Enhancements

BCP: DISPLAY PPT

Page 16: z/OS Small Enhancements - Episode 2014A

16 © 2014 IBM Corporation

� What: The ability to add comments to certain parmlib members, throughout the member. This allows for better documentation of the member (and can be less error-prone).

– Previously, some parmlib members only allowed comments at the end of the line, or at the end of the member, or possibly no comments at all.

– For Parmlib members COMMNDxx, GTFPARM, IEAABD00, IEACMD00, IEADMP00, IEADMR00, IEAPAKxx, IEASYSxx, LPALSTxx, VATLSTxx. (IGDSMSxx already supported comments /* */)

� How to use: Put an asterisk in column 1. That line is ignored.� Considerations: With OA38328 back to R12, for parmlib sharing.� Example:

SYS1.PARMLIB.POK(COMMNDMW) - 01.00

Command ===>

***** ***************************** Top of Data *********

COLS> ----+----1----+----2----+----3----+----4----+----5-

00001 ***************************************************

00002 * USE MPFLSTAI for MPF Table Marna 7/31/2013 *

00003 ***************************************************

00004 COM='SET MPF=AI'

***** **************************** Bottom of Data *******…

z/OS V2R1 Enhancements

BCP: Parmlib comments

Page 17: z/OS Small Enhancements - Episode 2014A

17 © 2014 IBM Corporation

© 2007 IBM Corporation

z/OS R13

Small Enhancements

� z/OS UNIX: Non-privileged user mount

Page 18: z/OS Small Enhancements - Episode 2014A

18 © 2014 IBM Corporation

� What: SUPERUSER.FILESYS.MOUNT is a user mount option, however

there is no verification if the user is allowed to mount or unmount a file system at that mount point.

– Now, there is a “safer” and “easier” way to allow users to mount their own file systems.

– Only supported with BPX2MNT (mount2) interface (ex. /usr/sbin/mountand TSO MOUNT commands)

� Considerations:

z/OS R13 Enhancements

z/OS UNIX: Non-privileged user mount

•chmount is not supported for nonprivileged

users

•Remount is not supported for nonprivileged

users

•Use of /// as a file system name placeholder is

not supported

•BPX1MNT callable service is not supported for

nonprivileged users

•Supported file system types are HFS, zFS

and NFS

•SYSNAME option is not supported

•NOSECURITY option cannot be specified

•NOSETUID option must be specified

Page 19: z/OS Small Enhancements - Episode 2014A

19 © 2014 IBM Corporation

� How to mount:

– Read access to SUPERUSER.FILESYS.USERMOUNT UNIXPRIV profile

– Read-Write-Execute (RWX) access permission to the mount point directory

– If Sticky bit is set, then the user must be the owner of mount point directory

– Mount point directory must be empty

– Read-Write-Execute (RWX) access permission to the file system root directory to mount

– If Sticky bit is set, then the user must be the owner of file system root to mount

� How to unmount: Read access to that UNIXPRIV profile, and be the one that mounted it.

� System-wide control with the following new keywords in BPXPRMxx:– MAXUSERMOUNTSYS( ):

– Use the MAXUSERMOUNTSYS statement to specify the maximum number of

nonprivileged user mounts in the system or in shared file system configuration.

– Default is 0 (none).

– MAXUSERMOUNTUSER( ):

– Use the MAXUSERMOUNTUSER statement to specify the maximum number of

nonprivileged user mounts allowed for any nonprivileged user in the system or in

shared file system configuration.

– Default is 0 (none).

z/OS R13 Enhancements

z/OS UNIX: Non-privileged user mount

Page 20: z/OS Small Enhancements - Episode 2014A

20 © 2014 IBM Corporation

� Display non-privileged user mount information using filters– D OMVS,FILE,UID=<euid|USER|PRIV>

� D OMVS,F,UID=USER for non-privileged mountsBPXO045I 13.37.38 DISPLAY OMVS 589 OMVS 000E ACTIVE OMVS=(Y2,3Z) TYPENAME DEVICE ----------STATUS----------- MODE MOUNTED LATCHES ZFS 19 ACTIVE RDWR 07/22/2010 L=27

NAME=MYFS1.ZFS 13.37.25 Q=0 PATH=/u/myzfs1/mntzfs UID=295

HFS 20 ACTIVE RDWR 07/22/2010 L=23 NAME=MYFS2.HFS 13.37.28 Q=0 PATH=/u/myhfs2/mntzfs UID=47

� D OMVS,F,UID=PRIV for privileged mountsBPXO045I 13.38.38 DISPLAY OMVS 592 OMVS 000E ACTIVE OMVS=(Y2,3Z) TYPENAME DEVICE ----------STATUS----------- MODE MOUNTED LATCHESZFS 3 ACTIVE RDWR 07/22/2010 L=15

NAME=ZOS113.VAR.ZFS 12.46.09 Q=0 PATH=/SYSTEM/var

ZFS 2 ACTIVE RDWR 07/22/2010 L=14 NAME=ZOS113.ETC.ZFS 12.46.09 Q=0 PATH=/SYSTEM/etc

z/OS R13 Enhancements

z/OS UNIX: Non-privileged user mount

UID=

UID=

nothing

nothing

Page 21: z/OS Small Enhancements - Episode 2014A

21 © 2014 IBM Corporation

� Display nonprivileged user mount information and settings– DISPLAY OMVS,USERMOUNTS

BPXO072I 13.28.20 DISPLAY OMVS 544 OMVS 000E ACTIVE OMVS=(Y2,3Z) NONPRIVILEGED USER MOUNTS SUMMARY

UID CURRENT MOUNTS 295 1 47 2 25 1

� Display nonprivileged user mount settings and high-water marks– D OMVS,LIMITS

SY1 BPXO051I 19.35.21 DISPLAY OMVS 896 OMVS 000E ACTIVE OMVS=(Y8,MZ) SYSTEM WIDE LIMITS: LIMMSG=NONE

CURRENT HIGHWATER SYSTEM USAGE USAGE LIMIT

MAXPROCSYS 7 9 900 MAXUIDS 2 2 200 .......SHRLIBRGNSIZE 0 0 67108864 SHRLIBMAXPAGES 0 0 4096 MAXUSERMOUNTSYS 15 20 100 MAXUSERMOUNTUSER 7 8 10

z/OS R13 Enhancements

z/OS UNIX: Non-privileged user mount

Added to D OMVS,OPTIONS also!

Page 22: z/OS Small Enhancements - Episode 2014A

22 © 2014 IBM Corporation

© 2007 IBM Corporation

z/OS R12

Small Enhancements

�BCP: Other Uses for Timed Event Data

Report

�DFSMS: IDCAMS DELETE Members

Page 23: z/OS Small Enhancements - Episode 2014A

23 © 2014 IBM Corporation

� What: IEAVFTED is a compiled REXX program (requiring the full REXX compiler runtime libraries, not the REXX Alternate Runtime

Library). It retrieves data from the Timed Event Data Table .

–Several z/OS components use this table, as of z/OS R12.

� How to use: Most simple invocation from TSO/E is

===> IEAVFTED DA('output_data_set')

–Where ‘output_data_set’ must be the name of a pre-

allocated data set with an LRECL of 512 and a RECFM of V or

VB

� Reference information: z/OS MVS Programming: Authorized

Assembler Services Reference, Volume 2 (EDT-IXG)

� Take the bottom half of the information from this output data set,

and import it into a spreadsheet…

z/OS R12 Enhancements

BCP: Recap - Timed Event Data Report

Page 24: z/OS Small Enhancements - Episode 2014A

24 © 2014 IBM Corporation

z/OS R12 Enhancements

BCP: Recap - Timed Event Data Report

Des

crip

tion

Typ

e

Eve

nt T

hre

ad

Page 25: z/OS Small Enhancements - Episode 2014A

25 © 2014 IBM Corporation

What you can find in the IEAVFTED report: � BEGINPARALLEL benefits: Start and End of “SSN= subsystem”� General: comparisons between one IPL and another

� IPL time: Start of “Start of IPL” and End of “End of IPL”. NIP too.

–“End of IPL” is after the first CommServer stack is available..

� PLPA build time: Start and End of “Build Pageable Link Pack Area” in IEAVNPC5.

� GRS Star initialization time: Start of "Start of STAR init

processing" and End of "STAR init complete“.� JES2 initialization times: Start and End of “JES2 initialization

time”� JES2 spool format or initialization time: Start and End of

“CHECKPOINT/SPOOL”

� Several other JES2 events: exit 24, NJE and RJE completion, SSI Verify/Set …

z/OS R12 Enhancements

BCP: Uses for the Timed Event Data Report

Page 26: z/OS Small Enhancements - Episode 2014A

26 © 2014 IBM Corporation

Some things to note in the IEAVFTED report: � Attention on the XCF/XES information! Depending on what

the system is doing in the sysplex, you may not have similar comparisons between IPLs. Some considerations are:

–First system likely will initialize CDS’s, Subsequent systems may not be doing the same amount of work.

–Systems IPLing in parallel may result in systems sharing initialization or even competing for it.

–Differing times on how long it takes another system to recognize a new member of the sysplex.

� Of course, any times affected by outstanding WTORs should be taken into consideration.

z/OS R12 Enhancements

BCP: Uses for the Timed Event Data Report

Page 27: z/OS Small Enhancements - Episode 2014A

27 © 2014 IBM Corporation27

� What: As of z/OS R11, IDCAMS DELETE MASK allows you to delete more than one data set at a time by specifying multiple qualifiers (and within a qualifier). Previously you could only use a wildcard delete on a single qualifier (for instance, MWALLE.*.JOBS).

� Considerations: Only one data set mask can be provided at a time. All data sets matching the mask will be deleted – be careful what you ask for!

� Usage Example: –//DELMEM EXEC PGM=IDCAMS

–//SYSPRINT DD SYSOUT=*

–//SYSIN DD *

– DELETE MWALLE.TEST%%%.PDS* MASK

–/* • Output:

–DELETE MWALLE.TEST%%%.PDS* MASK

–IDC0550I ENTRY (A) MWALLE.TESTDEL.PDS1 DELETED

–IDC0550I ENTRY (A) MWALLE.TESTDEL.PDS10 DELETED

–IDC0550I ENTRY (A) MWALLE.TESTDEL.PDS100 DELETED

–…(for all the data sets, which were more than 100!)

z/OS R12 Enhancements (OK, really z/OS R11!)

DFSMS: IDCAMS DELETE MASK

• Warning! Don’t put MASK before the entry name…DELETE MASK MWALLE.TEST%%%.PDS*

IDC3211I KEYWORD 'MWALLE.TEST%%%.PDS*' IS IMPROPER

IDC3202I ABOVE TEXT BYPASSED UNTIL NEXT COMMAND. CONDITION CODE IS 12

Page 28: z/OS Small Enhancements - Episode 2014A

28 © 2014 IBM Corporation28

� What: Prior to z/OS R12, IDCAMS DELETE could only delete only one member at a time. You’d have to invoke the DELETE command for each member you wanted to delete. Now, you can delete all members at once!

� Usage Example: – //DELMEM EXEC PGM=IDCAMS

–//SYSPRINT DD SYSOUT=*

–//SYSIN DD *

– DELETE MWALLE.TESTDEL.MEMS(*)

–/* • Output:

–DELETE MWALLE.TESTDEL.MEMS(*)

–IDC0553I ALL MEMBERS IN DATA SET MWALLE.TESTDEL.MEMS DELETED

–IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 0

z/OS R12 Enhancements

DFSMS: IDCAMS DELETE All Members

Page 29: z/OS Small Enhancements - Episode 2014A

29 © 2014 IBM Corporation29

z/OS R12 Enhancements

DFSMS: IDCAMS DELETE All Members

Before deleting all members:

Page 30: z/OS Small Enhancements - Episode 2014A

30 © 2014 IBM Corporation30

z/OS R12 Enhancements

DFSMS: IDCAMS DELETE All Members

After deleting all members:

Page 31: z/OS Small Enhancements - Episode 2014A

31 © 2014 IBM Corporation31

� What: Note that on z/OS V2.1, we now have “partial” wildcard delete support!

� Usage Example: //DELJCL EXEC PGM=IDCAMS

–//SYSPRINT DD SYSOUT=*

–//SYSIN DD *

– DELETE MWALLE.TESTDEL.MEMS(*JCL*)

–/*

� Results in:–DELETE MWALLE.TESTDEL.MEMS(*JCL*)

–IDC0549I MEMBER JCLE DELETED

–IDC0549I MEMBER JCLEF DELETED

–IDC0549I MEMBER JCLMLW DELETED

–IDC0549I MEMBER JCL1 DELETED

–IDC0549I MEMBER JCL12 DELETED

–IDC0549I MEMBER JCL2 DELETED

–IDC0549I MEMBER MYJCL DELETED

–IDC0549I MEMBER YOURJCL DELETED

–IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 0

–IDC0002I IDCAMS PROCESSING COMPLETE. MAXIMUM CONDITION CODE WAS 0

z/OS R12 Enhancements (OK, really z/OS V2.1!)

DFSMS: IDCAMS DELETE Some Members

Page 32: z/OS Small Enhancements - Episode 2014A

32 © 2014 IBM Corporation

© 2007 IBM Corporation

z/OS R11

Small Enhancements

�BCP: DELMIGDS for IEFBR14

�CommServer: syslogd browser and search

facility

Page 33: z/OS Small Enhancements - Episode 2014A

33 © 2014 IBM Corporation

� What: Allocation and DFSMShsm to use HDELETE for IEFBR14

–When DISP=(anything,DELETE) for a DFSMShsm-migrated data set, an

HDELETE will be done instead of recalling then deleting.

–ALLOCxx: SYSTEM IEFBR14_DELMIGDS(NORECALL)

–Can be changed dynamically with the SETALLOC command–SETALLOC SYSTEM,IEFBR14_DELMIGDS=NORECALL

–Intended to avoid associated delay with a recall, just to delete the data set.

� How to use: Support is turned off by default. You can turn it off: SETALLOC SYSTEM,IEFBR14_DELMIGDS=LEGACY command.

� Considerations: D ALLOC,OPTIONS can tell you what you currently

have.

z/OS R11 Enhancements

BCP: DELMIGDS for IEFBR14

Page 34: z/OS Small Enhancements - Episode 2014A

34 © 2014 IBM Corporation

z/OS R11 Enhancements

BCP: DELMIGDS for IEFBR14

Page 35: z/OS Small Enhancements - Episode 2014A

35 © 2014 IBM Corporation

� What: An easy way to look at and search through active syslogd files, and if you like,

archived files.

– Active syslogd files are always z/OS UNIX files

– Archived files are z/OS UNIX files, or MVS GDG and sequential data sets.

� So many functions! Change the configuration options for the syslogd, find which

facilities have written to various files, search across active files for something,

browse individual active files…and much more!

� How to use:

1. Customize (one HLQ!) and invoke the REXX exec to set up it. Model it from TCPIP.SEZAEXEC(EZABROWS).

– � ex ‘mwalle.exec(ezabrows)’

2. Explore the panels and enjoy the benefits!

� Considerations: Can also use it under z/OSMF ISPF “classic interface”…mostly, but I prefer “native” ISPF.

z/OS R11 Enhancements

CommServer: syslogd browser and search facility

Page 36: z/OS Small Enhancements - Episode 2014A

36 © 2014 IBM Corporation

z/OS R11 Enhancements

CommServer: syslog browser and search facility

Enter the config file you want to work with

Page 37: z/OS Small Enhancements - Episode 2014A

37 © 2014 IBM Corporation

z/OS R11 Enhancements

CommServer: syslog browser and search facility

Handy!

Page 38: z/OS Small Enhancements - Episode 2014A

38 © 2014 IBM Corporation

z/OS R11 Enhancements

CommServer: syslog browser and search facility

Lots more arguments!

Page 39: z/OS Small Enhancements - Episode 2014A

39 © 2014 IBM Corporation

z/OS R11 Enhancements

CommServer: syslog browser and search facility

…followed by the results, separated by each file…

Page 40: z/OS Small Enhancements - Episode 2014A

40 © 2014 IBM Corporation

© 2007 IBM Corporation

Older than the hills

Small Enhancements

�z/OS UNIX: REMOUNT to change the mode

�z/OS UNIX: submit with cron

�ISPF: Member search commands

Page 41: z/OS Small Enhancements - Episode 2014A

41 © 2014 IBM Corporation

� What: You’ve got a new product’s file system to mount. Where you want to mount it is read-only right now. You don’t want to lose access to all the child file systems currently mounted to create a new mountpoint for the new product.

– UNMOUNT REMOUNT to the rescue!

– Switch between read-only and read-write mode without unmounting child file systems

� How to use:

– With TSO: unmount filesystem(‘xxx') remount(rdwr)

– With ISHELL: File_Systems pull down

– With shell: chmount –w /my_mountpoint

� Even more! In R11, you can use the samemode option to internally unmountand mount in the same mode. Saves from having to do a double-remount!

– This recovers a file system that is disabled for writes

– write() calls to the file system will not fail during processing.

Older than the hills (z/OS R5):

z/OS UNIX: REMOUNT to change the mode

Page 42: z/OS Small Enhancements - Episode 2014A

42 © 2014 IBM Corporation

� Now, all file systems are mounted read-only:

Older than the hills (z/OS R5):

z/OS UNIX: REMOUNT to change the mode

Want to add a new directory’s product file system

Page 43: z/OS Small Enhancements - Episode 2014A

43 © 2014 IBM Corporation

� Change mount mode to RW, to add a new directory:

Older than the hills (z/OS R5):

z/OS UNIX: REMOUNT to change the mode

Page 44: z/OS Small Enhancements - Episode 2014A

44 © 2014 IBM Corporation

� Mkdir the new directory and mount the new product file system. Change mount mode back to read-only:

Older than the hills (z/OS R5):

z/OS UNIX: REMOUNT to change the mode

New!

Page 45: z/OS Small Enhancements - Episode 2014A

45 © 2014 IBM Corporation

� What: Easiest and cheapest way I know of to submit a job automatically! Use the submit shell command (R10, previously had to open a TSO session), and the cron facility (ancient).

– SMP/E RECEIVE ORDER every night is a great fit for this combination!

� How to use:

1. Probably already have cron daemon running…if not start it.

– See z/OS UNIX Planning to do this.

2. Set up your JCL you want to run in an MVS data set (or file).

3. Change or add a crontab file, probably in var/spool/cron/crontabs :

– submit is the shell command that will send a batch job to JES

– Hint: cut and paste the command, and run it manually from the shell to make sure the syntax is correct.

4. Create or change your crontab entry: crontab MWALLE

Older than the hills (z/OS R10):

z/OS UNIX: submit with cron

Page 46: z/OS Small Enhancements - Episode 2014A

46 © 2014 IBM Corporation

� What: Look for data sets containing a member name from ISPF 3.4 quickly.

You can exclude data sets to search and say if you want to search migrated

data sets .

–Wildcards are supported for member names.

–First data set containing the member name (or matching name) is placed at the top of the list.

� How to use: On the DSLIST command line:

� MEMBER name (or MEM name or M name )

–Options you can specify are:

–X or EX: search only excluded

–NX: search only not excluded data sets

–RECALL1: Also, search data sets that are migrated to DASD

–RECALL2: Also, search data sets that are migrated to tape

� Considerations: Easy as pie!

Older than the hills:

ISPF: Member Search

Page 47: z/OS Small Enhancements - Episode 2014A

47 © 2014 IBM Corporation

Before: Which data sets have members that start with ALT in them?

�One of them is migrated to DASD, so I’ll use RECALL1.

�I’ve excluded 10 data sets I don’t care about, so I’ll use NX

Page 48: z/OS Small Enhancements - Episode 2014A

48 © 2014 IBM Corporation

After: 7 data sets have member names that start with ALT

�The one data set migrated to DASD was recalled.

�First data set with ALT* is at the top

Page 49: z/OS Small Enhancements - Episode 2014A

49 © 2014 IBM Corporation

� What: Search through data sets and through members for a particular text string quickly. � How to use: From data set list or member list, issue SRCHFOR with or without a text

string. Search output (SuperC) written to userid.SRCHxx.LIST by default..� Can “Exclude not found” or “Filter list” to only show found members.� SORT PROMPT is handy to get those “**FOUND” members at ths top!

� No data string will give you a panel to specify options you want:

Older than the hills:

ISPF: ..and while on the topic, text search within a member

Handy for z/OS V2.1 migration ☺

Page 50: z/OS Small Enhancements - Episode 2014A

50 © 2014 IBM Corporation

© 2007 IBM Corporation

Summary of What We Might Want to Share with Our User Community:

• System Programmer & User Items:

�z/OS new release content�z/OS platform PTFs new enhancements�BCP (V2.1): Dynamic SYSDSN ENQ downgrades

�z/OS UNIX (R13): Non-privileged user mount�DFSMS (R12): IDCAMS DELETE plus!�BCP (R11): DELMIGDS for IEFBR14�z/OS UNIX (old): submit with cron

�ISPF (old): Member search commands

• System Programmers Items:

�BCP (V2.1): Add and remove consoles dynamically�BCP (V2.1): Dynamic System Symbol Support�BCP (V2.1): DISPLAY PPT�BCP (V2.1 and APAR): BCP Parmlib Comments

�BCP (R12): Timed Event Data Report

�CommServer (R11): syslogd browser and search facility�z/OS UNIX (old): REMOUNT to change mount mode

Page 51: z/OS Small Enhancements - Episode 2014A

51 © 2014 IBM Corporation

© 2007 IBM Corporation

Small Stuff You May Want to Use on z/OS Summary

• Everyone, right now:

•Learning about new content from releases

• IBM Education Assistance website, PDFs & some MP3.

•Learning about new content from PTFs

• My Notifications signup, then email or folder distribution

• z/OS V2.1:

�BCP: Dynamic SYSDSN ENQ downgrade

�For better throughput, but verify before using.�BCP: Add and remove MCS consoles dynamically�Nice to use, deletion could replace IEARELCN. On SET CON, won’t see

messages for successful addition.�BCP: Dynamic system symbol support

�Two ways, understand interactions between them.

�BCP: DISPLAY PPT - Easy to use, logically separately.

�BCP: BCP parmlib comments - At last!• z/OS V1.13:

�z/OS UNIX: Non-privileged user mount - Give users what they want.

Page 52: z/OS Small Enhancements - Episode 2014A

52 © 2014 IBM Corporation

© 2007 IBM Corporation

• z/OS V1.12:

�BCP: Timed Event Data Report – Dig more out of it�DFSMS: IDCAMS DELETE All Members, plus more!�Many desired options, and long awaited for.

• z/OS V1.11:

�BCP: DELMIGDS for IEFBR14

�Good for throughput.

�Communications Server: syslogd browser and search

�Very easy to use, and very powerful and intuitive.

� Older than the hills:

•z/OS UNIX: REMOUNT to change the mount mode

• Still unknown to many, and very important for availability

•z/OS UNIX: submit with cron

• Cheapest and easiest way I use for submitting jobs.

•ISPF: Member search commands

• Old stuff, but nice to have with so many ways of looking!

Small Stuff You May Want to Use on z/OS Summary

Page 53: z/OS Small Enhancements - Episode 2014A

5353

Growing your IBM skills – a new model for training

• Access to training in more cities local to you, where and when you need it, and in the format you want

• Use IBM Training Search to locate training classes near to you

• Demanding a high standard of quality / see the paths to success

• Learn about the New IBM Training Model and see how IBM is driving quality

• Check Training Paths and Certifications to find the course that is right for you

• Academic Initiative works with colleges and universities to introduce real-world technology into the classroom, giving students the hands-on experience valued by employers in today’s marketplace

• www.ibm.com/training

Global Skills Initiative

Meet the authorized IBM Global Training Providers in the technology exchange

Page 54: z/OS Small Enhancements - Episode 2014A

5454

Related learning• For all your training needs see:

www.ibm.com/training

• IBM System z Mainframe training

paths:

– z/OS and System z

– z/OS Operation and Parallel Sysplex

– z/OS Installation, Tuning, JES, and REXX Programming and Problem

Diagnosis

– Security Skills

– z/OS UNIX System Services,

WebSphere and SAP

– z/VM and Linux on System z

– z/OS Networking

• Courses related to this conference track:

–ES42G: Parallel Sysplex

Implementation Workshop

–ES73G: IBM System z Parallel

Sysplex Operations

–ES54G: Basic z/OS Tuning Using the Workload Manager (WLM)

–ES90G: Advanced Parallel Sysplex

Operations and Recovery Workshop

Contains track relevant content