IBM. DFSMStvs Administration Guide. z/os. Version 2 Release 3 GC

Similar documents
IBM. DFSMStvs Planning and Operating Guide. z/os. Version 2 Release 3 SC

DFSMSdfp Storage Administration Reference

IBM. MVS Programming: Writing Transaction Schedulers for APPC/MVS. z/os. Version 2 Release 3 SA

IBM. DFSMSdfp Storage Administration. z/os. Version 2 Release 3 SC

IBM InfoSphere Data Replication for VSAM for z/os Version 11 Release 3. Guide and Reference

The Case for and Value of Transactional VSAM. A CICS/Batch File Sharing Enhancement. Session TSS03 Ruth Ferziger What is VSAM RLS?

CICS Transaction Server for z/os. CICS DB2 Guide. Version 3 Release 1 SC

Transactional VSAM: An Application Programmer's Perspective

Data Protection for IBM Domino for UNIX and Linux

Tivoli IBM Tivoli Advanced Catalog Management for z/os

DFSMS Basics: VSAM Transactional VSAM (TVS) Basics and Implementation

IBM. DFSMS Using the Interactive Storage Management Facility. z/os. Version 2 Release 3 SC

Enable your COBOL applications to exploit the latest z/architecture

CICSPlex SM Concepts and Planning

Managed System Infrastructure for Setup User s Guide

IBMRationalCOBOLRuntimeGuidefor zseries

IBM. DFSMS Managing Catalogs. z/os. Version 2 Release 3 SC

IBM Tivoli Monitoring for Business Integration. User s Guide. Version SC

Transactional VSAM: An Application Programmer s Perspective

CICS Intercommunication Guide

IBM i Version 7.2. Security Service Tools IBM

Db2 Query Management Facility Version 12 Release 2. Installing and Managing Db2 QMF for TSO and CICS IBM GC

IBM. Cryptographic Services Integrated Cryptographic Service Facility Messages. z/os. Version 2 Release 3 SC

WebSphere MQ Configuration Agent User's Guide

IBM. Client Configuration Guide. IBM Explorer for z/os. Version 3 Release 1 SC

IBM. CICSPlex SM Messages and Codes. CICS Transaction Server for z/os. Version 5 Release 4

CA IDMS Using VSAM Transparency

CA IDMS VSAM Transparency

IBM. DFSMS Implementing System-Managed Storage. z/os. Version 2 Release 3 SC

DFSMS:Basics Transactional VSAM (TVS) Basics and Implementation

License Administrator s Guide

Installation and Setup Guide

Data Protection for Microsoft SQL Server Installation and User's Guide

WebSphere Message Broker Monitoring Agent User's Guide

IMS Performance Feature Guide and Reference

VSAM File System Reply Messages

IBM Tivoli Monitoring for Messaging and Collaboration: Lotus Domino. User s Guide. Version SC

IBM Data Virtualization Manager for z/os Version 1 Release 1. Administration Guide IBM SC

IBM. CICSPlex SM API Reference. CICS Transaction Server for z/os. Version 5 Release 4

IBM. DFSMS Introduction. z/os. Version 2 Release 3 SC

Tivoli Decision Support for OS/390. Administration Guide. Version 1.6, December 2003 SH

System i and System p. Capacity on Demand

DFSMS/VM Customization

IBM. Systems management Logical partitions. System i. Version 6 Release 1

IBM. DFSMS Object Access Method Application Programmer s Reference. z/os. Version 2 Release 3 SC

Ensuring Catalog and Control Data Set Integrity

Upgrading XL Fortran Compilers

Concurrent VSAM access for batch and CICS: A white paper series

IBM Open Data Analytics for z/os Version 1 Release 1. Administrator's Guide IBM SC

Tivoli Storage Manager for Mail

IBM Tivoli Storage Manager for Windows Version 7.1. Installation Guide

IBM Tivoli Storage Manager for Windows Version Installation Guide

WebSphere Message Broker

Tivoli Application Dependency Discovery Manager Version 7 Release 2.1. Installation Guide

IBM Security Access Manager for Web Version 7.0. Upgrade Guide SC

Deployment Overview Guide

Tivoli Application Dependency Discovery Manager Version 7.3. Installation Guide IBM

Using IBM z/os provisioning toolkit. Version 1 Release 1 IBM

Configuration and Customization

Intercommunication Guide

TSO/E REXX User s Guide

Cloning IMS Systems and Databases

IMSConnectorforJava User s Guide and Reference

Workload Automation Version 8.6. Overview SC

IBM Tivoli Monitoring: AIX Premium Agent Version User's Guide SA

Tivoli IBM Tivoli Advanced Catalog Management for z/os

IBM. CICSPlex SM Managing Business Applications. CICS Transaction Server for z/os. Version 5 Release 4

VSAM Access Method or DBMS?

Tivoli IBM Tivoli Advanced Audit for DFSMShsm

IBM Director Virtual Machine Manager 1.0 Installation and User s Guide

WebSphere MQ. Clients GC

IBM Tivoli Enterprise Console. User s Guide. Version 3.9 SC

Guide to Managing Common Metadata

Chapter 14. Reclaiming CIs in secondary index databases with FPA

z/os Introduction and Workshop Data Sets

IBM. CICSPlex SM Concepts and Planning. CICS Transaction Server for z/os Version 4 Release 2 SC

VSAM Overview. Michael E. Friske Fidelity Investments. Session 11681

IBM Tivoli OMEGAMON XE for CICS TG on z/os Version User's Guide SC

IBM Tivoli Decision Support for z/os Version Messages and Problem Determination IBM SH

Tivoli Tivoli Provisioning Manager

LINUXforS/390-kernelloadablemodule. LINUX for S/390 LCSDeviceDriver

Cryptographic Services Integrated Cryptographic Service Facility Administrator's Guide

Installing and Administering a Satellite Environment

Tivoli Tivoli Intelligent ThinkDynamic Orchestrator

IBM Tivoli Workload Scheduler for z/os. Installation Guide. Version 8.2 (Maintenance Release April 2004) SC

Installation and Setup Guide

IBM i Version 7.3. Networking TCP/IP troubleshooting IBM

Solutions for SAP Systems Using IBM DB2 for IBM z/os

Concurrent VSAM access for batch and CICS: A white paper series

IBM. IBM i2 Analyze: Backing Up A Deployment. Version 4 Release 1

IBM InfoSphere Classic Federation for z/os Version 11 Release 1. Installation Guide GC

IBM. RSE for z/os User's Guide. IBM Explorer for z/os. Version 3 Release 1 SC

IBM. Installing, configuring, using, and troubleshooting. IBM Operations Analytics for z Systems. Version 3 Release 1

IBM. Using the Installation Dialog. ServerPac. Dialog Level: 28 SA

Tivoli Tivoli Intelligent ThinkDynamic Orchestrator

Tivoli Tivoli Provisioning Manager

Monitor Developer s Guide

High Availability Guide for Distributed Systems

IBM. Basic system operations. System i. Version 6 Release 1

IBM Tivoli Storage Manager Version Optimizing Performance IBM

Transcription:

z/os IBM DFSMSts Administration Guide Version 2 Release 3 GC52-1388-30

Note Before using this information and the product it supports, read the information in Notices on page 357. This edition applies to Version 2 Release 3 of z/os (5650-ZOS) and to all subsequent releases and modifications until otherwise indicated in new editions. Last updated: September 25, 2018 Copyright IBM Corporation 2003, 2017. US Goernment Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

Contents Figures............... Tables............... ii About this document......... ix Required product knowledge........ ix z/os information............ ix Notational Conentions.......... ix How to send your comments to IBM.. xi If you hae a technical problem........ xi Summary of changes........ xiii Summary of changes for z/os Version 2 Release 3 (V2R3) and its updates.......... xiii z/os Version 2 Release 1 summary of changes.. xiii Chapter 1. Ealuating, planning, and installing DFSMSts......... 1 Ealuating and planning for DFSMSts..... 1 Software dependencies.......... 1 Processing restrictions.......... 3 Migrating to z/os Version 1 Release 4...... 4 SYS1.PARMLIB changes for DFSMSts..... 5 JCL changes for DFSMSts........ 6 System command changes for DFSMSts.... 7 Access method serices.......... 9 Macros............... 13 Messages and codes.......... 14 Migration tasks............ 14 Additional information......... 15 Installing DFSMSts........... 16 Enabling DFSMSts on your z/os system... 16 Coding IGDSMSxx........... 16 Chapter 2. Administering resources for DFSMSts............. 17 Controlling access to VSAM data sets...... 17 Accessing data sets in DFSMSts mode.... 17 Specifying read integrity......... 27 Specifying a timeout alue for lock requests.. 27 Defining data sets for DFSMSts access..... 27 Allocating data sets........... 27 Listing and controlling SMSVSAM recoery.. 52 Altering data set attributes........ 61 Defining alternate indexes........ 83 Defining attributes for clusters and cluster components............. 100 Securing log streams........... 130 Chapter 3. Customizing the DFSMSts enironment............ 131 Coding VSAM macros.......... 131 Subparameters with GENCB, MODCB, SHOWCB, and TESTCB......... 131 Use of list, execute, and generate forms of VSAM macros............ 132 Examples of generate, list, and execute forms 134 ACB generate an access method control block at assembly time........... 136 EXLST generate an exit list at assembly time 145 GENCB generate an access method control block at execution time......... 147 GENCB generate an exit list at execution time 156 IDALKADD RLS record locking..... 165 RPL generate a request parameter list at assembly time............ 173 SCHBFR search buffer......... 182 SHOWCAT display the catalog...... 183 Understanding VSAM macro return and reason codes................ 190 OPEN return and reason codes...... 190 CLOSE return and reason codes...... 197 Control block manipulation macro return and reason codes............. 198 Record management return and reason codes 200 Return codes from macros used to share resources among data sets........ 219 End-of-olume return codes....... 221 SHOWCAT return codes........ 221 Coding VSAM user-written exit routines.... 221 General guidelines for coding exit routines.. 222 Programming guidelines........ 223 IGW8PNRU routine for batch oerride.... 224 EODAD exit routine to process end of data.. 226 EXCEPTIONEXIT exit routine....... 227 JRNAD exit routine to journalize transactions 227 LERAD exit routine to analyze logical errors 233 RLSWAIT exit routine......... 234 SYNAD exit routine to analyze physical errors 236 UPAD exit routine for user processing.... 238 User-security-erification routine...... 241 Chapter 4. Programming applications to use DVSMSts.......... 243 Modifying applications to use DFSMSts.... 243 Designing and coding applications to use DFSMSts.............. 243 Handling DFSMSts error codes....... 243 Module identifiers........... 243 Initialization reason codes........ 246 Open and close reason codes....... 251 Command processor reason codes..... 253 Front end (VSAM record management) reason codes............... 256 Message processing reason codes...... 259 Quiesce reason codes.......... 260 Shunt processing reason codes....... 261 Copyright IBM Corp. 2003, 2017 iii

Restart reason codes.......... 264 Peer recoery reason codes........ 266 Syncpoint reason codes......... 267 Miscellaneous reason codes........ 271 Logging reason code prefixes....... 273 Logging serices reason codes....... 275 Chapter 5. Operating in the DFSMSts transaction processing enironment. 279 Setting up the storage management subsystem.. 279 Preparing for the storage management subsystem............. 279 Actiating storage management subsystem configurations............ 286 Displaying storage management subsystem information............. 289 Changing storage management subsystem parameters............. 289 Controlling DVSMSts processing...... 289 Monitoring application programs that use DFSMSts............. 289 Changing DFSMSts status........ 289 Maintaining data integrity during backup-while-open processing....... 290 Chapter 6. Diagnosing DFSMSts problems............. 297 Incorrect output keyword......... 297 Procedure............. 297 VSAM RLS incorrect output keyword.... 298 DFSMSts incorrect output keyword.... 299 Catalog management incorrect output keyword.............. 300 Abend keyword............ 301 Symptoms of the failure......... 301 Procedure............. 301 Procedure for building the abend keyword.. 304 Message keyword............ 304 Procedure............. 304 VSAM, DFSMSts, and VSAM RLS record management message keyword...... 306 VSAM diagnostic aids.......... 307 Access method serices (AMS) diagnostic aids 307 Catalog management diagnostic aids.... 310 VSAM OPEN/CLOSE/end-of-olume (O/C/EOV) diagnostic aids....... 312 VSAM OPEN/CLOSE/End-of-Volume return and reason codes........... 315 VSAM record-leel sharing diagnostic aids.. 315 VSAM record-leel sharing return and reason codes............... 321 VSAM record management (R/M) diagnostic aids............... 325 VSAM record management return and reason codes............... 337 Appendix. Accessibility....... 353 Accessibility features........... 353 Consult assistie technologies........ 353 Keyboard naigation of the user interface.... 353 Dotted decimal syntax diagrams....... 353 Notices.............. 357 Terms and conditions for product documentation 359 IBM Online Priacy Statement........ 360 Policy for unsupported hardware....... 360 Minimum supported hardware....... 360 Trademarks.............. 361 Glossary............. 363 Index............... 377 i z/os DFSMSts Administration Guide

Figures 1. VSAM RLS address and data spaces and requestor address spaces........ 18 2. CICS VSAM non-rls access....... 20 3. CICS VSAM RLS........... 20 4. ALTER attributes that can be altered and types of catalog entries........... 63 5. Interrelationships among catalog entries 184 6. Physical error message format...... 217 7. Example of a JRNAD exit....... 230 8. Example of a SYNAD exit routine.... 238 9. Relationships among SCDSs and ACDSs in an installation............ 281 10. Block diagram for backup-while-open serialization............ 292 11. Example of TEST option output..... 310 12. VSAM record management how to find a damaged data set.......... 328 Copyright IBM Corp. 2003, 2017

i z/os DFSMSts Administration Guide

Tables 1. IGDSMSxx changes in SYS1.PARMLIB.... 6 2. Changed JCL statements........ 6 3. New and changed system-leel commands 7 4. Changed IDCAMS commands....... 9 5. DFSMSdfp: Summary of changed executable macros.............. 13 6. ALLOCATE command parameters..... 30 7. Data class attributes for each data set organization............ 36 8. How NEWNAME resoles when change of catalog is required.......... 72 9. Reentrant programming........ 134 10. MACRF options........... 139 11. OPTCD options........... 176 12. Operand expressions for the SHOWCAT macro.............. 190 13. Return codes in register 15 after OPEN 190 14. OPEN reason codes in the ACBERFLG field of the ACB............ 191 15. Return codes in register 15 after CLOSE 197 16. CLOSE reason codes in the ACBERFLG field of the ACB............ 197 17. Return codes in register 15 after control block manipulation macros......... 198 18. GENCB, MODCB, SHOWCB, and TESTCB reason codes returned in register 0.... 199 19. Return code in register 15 after an asynchronous request......... 201 20. Return code in register 15 after a synchronous request.............. 201 21. Component codes proided in the RPL 202 22. Successful-completion reason codes in the feedback area of the request parameter list.. 203 23. Logical-error reason codes in the feedback area of the request parameter list..... 204 24. Positioning states for reason codes listed for sequential, direct, and skip-sequential processing............ 212 25. Physical-error reason codes in the feedback area of the request parameter list..... 215 26. Physical error message format for non-rls processing............ 216 27. Physical error message format...... 217 28. Serer failure reason codes in the feedback area of the request parameter list..... 219 29. Return codes in register 15 after BLDVRP request.............. 219 30. Return codes in register 15 after a DLVRP request.............. 220 31. Return codes in register 15 after end of olume............. 221 32. SHOWCAT return codes........ 221 33. VSAM user-written exit routines..... 222 34. Contents of registers at entry to IGW8PNRU exit routine............ 225 35. Contents of registers at entry to EODAD exit routine.............. 226 36. Contents of registers at entry to EXCEPTIONEXIT routine....... 227 37. Contents of registers at entry to JRNAD exit routine.............. 228 38. Contents of parameter list built by VSAM for the JRNAD exit........... 231 39. Contents of registers at entry to LERAD exit routine.............. 234 40. Contents of registers for RLSWAIT exit routine.............. 235 41. Contents of registers at entry to SYNAD exit routine.............. 236 42. Conditions when exits to UPAD routines are taken.............. 239 43. Contents of registers at entry to UPAD exit routine.............. 239 44. Parameter list passed to UPAD routine 240 45. Communication with user-securityerification routine.......... 241 46. Reason code module identifiers..... 243 47. Definitions of terms related to message keywords............. 305 48. X'F61' record information....... 313 49. Valid trace facility options....... 317 50. Initialization errors.......... 320 51. SMSVSAM return and reason codes.... 322 52. SMPM_CFPurge return and reason codes 324 53. SMPM_CFQuery return and reason codes 325 54. Messages that IDCAMS detects..... 329 55. Predefined trace IDs, modules, and functions 331 56. PARM1 subparameter bits, byte 0..... 333 57. PARM1 subparameter bits, byte 1..... 333 58. PARM1 subparameter bits, byte 2..... 334 59. PARM1 subparameter bits, byte 3..... 334 60. PARM1 subparameter bits, byte 4..... 334 61. PARM1 subparameter bits, byte 5..... 334 62. PARM2 subparameter bits....... 335 63. Return codes from the record-management (request) macros - asynchronous requests.. 337 64. Return codes from the record-management (request) macros - synchronous requests.. 337 65. Return codes from the record-management (request) macros - R15=0........ 338 66. Function codes for logical and physical errors 339 67. Contents of registers when a LERAD routine gets control............ 339 68. Logical-error reason codes found in the RPL feedback field when R15=8 and LERAD is not actie............... 340 69. Reason codes associated with R15=12 347 70. Reason codes associated with R15=16 347 71. Contents of registers when a SYNAD routine gets control............ 347 Copyright IBM Corp. 2003, 2017 ii

72. Physical-error reason codes in the RPL feedback field from a request macro.... 348 73. Format of physical-error messages.... 348 74. Control block manipulation return codes 351 75. Control block manipulation error codes 351 iii z/os DFSMSts Administration Guide

About this document This document is intended for system programmers, storage administrators, and operators who are responsible for customizing, administering, and operating z/os DFSMSts. Primarily, this document contains reference and guidance information for many of the major tasks that a user might need to perform when using DFSMS Transactional VSAM Serices (DFSMSts). This document helps you in these ways: Required product knowledge z/os information Notational Conentions Understand certain functions of DFSMS, such as VSAM RLS, and the manner in which DFSMSts relates to these functions and builds upon them Learn about the migration tasks that you must complete Be able to perform tasks such as customizing, administering, and operating DFSMSts, as well as diagnosing problems that might be related to DFSMSts For information about accessibility features of z/os, for users who hae a physical disability, see Accessibility, on page 353. You should understand the following components and features to use this document effectiely: Data Facility Storage Management Subsystem (DFSMS) Data Facility Storage Management Subsystem data facility product (DFSMSdfp) Data Facility Storage Management Subsystem data set serices (DFSMSdss) Multiple Virtual Storage (MVS ) Virtual storage access method (VSAM) VSAM record-leel sharing (VSAM RLS) This information explains how z/os references information in other documents and on the web. When possible, this information uses cross document links that go directly to the topic in reference using shortened ersions of the document title. For complete titles and order numbers of the documents for all products that are part of z/os, see z/os Information Roadmap. To find the complete z/os library, go to IBM Knowledge Center (www.ibm.com/support/knowledgecenter/ssltbw/welcome). This document describes arious commands that you can use. A uniform notation describes the syntax of these commands. This notation is not part of the language; it is merely a way of describing the syntax of the commands. The command syntax definitions in this book use the following conentions: [ ] Brackets enclose an optional entry. You can, but need not, include the entry. Examples follow: Copyright IBM Corp. 2003, 2017 ix

[length] [MF=E] An OR sign (a ertical bar) separates alternatie entries. You must specify one, and only one, of the entries unless you allow an indicated default. Examples follow: [REREAD LEAVE] [length 'S'] { } Braces enclose alternatie entries. You must use one, and only one, of the entries. Examples follow: BFTEK={S A} {K D} {address S O} Sometimes alternatie entries are shown in a ertical stack of braces. An example follows: MACRF={{(R[C P]) } {(W[C P L]) } {(R[C],W[C])}} In the preceding example, you must choose only one entry from the ertical stack.... An ellipsis indicates that the entry immediately preceding the ellipsis can be repeated. For example: (Dcbaddr,[(options)],...) UPPERCASE BOLDFACE Uppercase boldface type indicates entries that you must code exactly as shown. These entries consist of keywords and the following punctuation symbols: commas, parentheses, and equal signs. Examples follow: CLOSE,,,,TYPE=T MACRF=(PL,PTC) UNDERSCORED UPPERCASE BOLDFACE Underscored uppercase boldface type indicates the default used if you do not specify any of the alternaties. Examples follow: [EROPT={ACC SKP ABE}] [BFALN={F D}] lowercase italic Lowercase italic type indicates a alue that you supply, according to the specifications and limits for the parameter. Examples follow: number image-id count x z/os DFSMSts Administration Guide

How to send your comments to IBM We inite you to submit comments about the z/os product documentation. Your aluable feedback helps to ensure accurate and high-quality information. Important: If your comment regards a technical question or problem, see instead If you hae a technical problem. Submit your feedback by using the appropriate method for your type of comment or question: Feedback on z/os function If your comment or question is about z/os itself, submit a request through the IBM RFE Community (www.ibm.com/deeloperworks/rfe/). Feedback on IBM Knowledge Center function If your comment or question is about the IBM Knowledge Center functionality, for example search capabilities or how to arrange the browser iew, send a detailed email to IBM Knowledge Center Support at ibmkc@us.ibm.com. Feedback on the z/os product documentation and content If your comment is about the information that is proided in the z/os product documentation library, send a detailed email to mhrcfs@us.ibm.com. We welcome any feedback that you hae, including comments on the clarity, accuracy, or completeness of the information. To help us better process your submission, include the following information: Your name, company/uniersity/institution name, and email address The following delierable title and order number: z/os DFSMSts Administration Guide, GC52-1388-30 The section title of the specific information to which your comment relates The text of your comment. When you send comments to IBM, you grant IBM a nonexclusie right to use or distribute the comments in any way appropriate without incurring any obligation to you. IBM or any other organizations use the personal information that you supply to contact you only about the issues that you submit. If you hae a technical problem If you hae a technical problem or question, do not use the feedback methods that are proided for sending documentation comments. Instead, take one or more of the following actions: Go to the IBM Support Portal (support.ibm.com). Contact your IBM serice representatie. Call IBM technical support. Copyright IBM Corp. 2003, 2017 xi

xii z/os DFSMSts Administration Guide

Summary of changes This information includes terminology, maintenance, and editorial changes. Technical changes or additions to the text and illustrations for the current edition are indicated by a ertical line to the left of the change. Summary of changes for z/os Version 2 Release 3 (V2R3) and its updates This information contains no technical changes for this release. z/os Version 2 Release 1 summary of changes See the Version 2 Release 1 (V2R1) ersions of the following publications for all enhancements related to z/os V2R1: z/os Migration z/os Planning for Installation z/os Summary of Message and Interface Changes z/os Introduction and Release Guide Copyright IBM Corp. 2003, 2017 xiii

xi z/os DFSMSts Administration Guide

Chapter 1. Ealuating, planning, and installing DFSMSts This topic proides information to help you ealuate, plan for, and install DFSMSts. Ealuating and planning for DFSMSts This topic proides information to help you ealuate your installation's readiness to use DFSMSts and to help you plan for using it. Software dependencies The following software is required for DFSMSts, which is a licensed feature of z/os Version 1 Release 4 or aboe. z/os DFSMSts is aailable on z/os Version 1 Release 4 or aboe. Use of DFSMSts requires serices that the system logger and recoerable resource management serices (RRMS) proide. The system logger and RRMS were shipped in earlier releases of z/os. DFSMS DFSMSts requires the DFSMS component of z/os Version 1 Release 4 or aboe. Changes to the lock information stored in the coupling facility for DFSMSts require compatibility PTFs for any DFSMS 1.3 systems that might be running VSAM record-leel sharing (VSAM RLS) in a sysplex where DFSMSts is also used. New IDCAMS SHCDS commands that are routed to all of the systems in the sysplex require a compatibility PTF to any sharing DFSMS 1.3 systems to handle these commands correctly. CICS Transaction Serer To exploit the functions that VSAM RLS proides, you need CICS Transaction Serer (CICS TS) Version 1 Release 1 or later, which proides these features: VSAM RLS support, enabling CICS systems to share the VSAM data sets directly rather than function shipping to a file owning region Application programming interface (API) extensions for VSAM RLS The CICS TS log manager The CICS TS recoery manager If you are running DFSMSts and CICS TS, a compatibility PTF is required for CICS TS because DFSMSts support requires some changes to the VSAM problem determination information used to report locking conflicts. The problem determination information is used by both DFSMSts and CICS TS. CICS VSAM Recoery DFSMSts supports the data set forward recoery option introduced into VSAM cluster definitions by VSAM RLS. DFSMSts logs the redo records to system logger log streams. These log streams are shared across all DFSMSts instances and CICS systems. This proides sysplex-wide, merged log streams, which you can use as Copyright IBM Corp. 2003, 2017 1

Ealuating, planning, and installing DFSMSts input to CICS VSAM Recoery (CICSVR) or other forward recoery products. To enable these products to process DFSMSts forward recoery log records with minimal changes, the log records were designed to be as similar to those written by CICS as possible. CICSVR ersion 2 release 3 or higher is needed. Global Resource Serialization Global Resource Serialization (GRS) or an equialent product is required to ensure cross-system serialization of VSAM resources and other DFSMS control structures altered by DFSMSts and VSAM RLS. z/os Security Serer You need Resource Access Control Facility (RACF ), a component of z/os Security Serer 2.1, or an equialent product to proide authorization for and protection of data and system resources: An RACF FACILITY class profile, STGADMIN.IGWSHCDS.REPAIR, controls access to the IDCAMS SHCDS command functions, which you can use to list outstanding SMSVSAM recoery requirements and control that recoery. If you do not use RACF to secure your installation, ensure that your security product supports the new class name and the new FACILITY class profile. The SMSVSAM address space must be gien authority to use the system logger log streams. To allow DFSMSts to do automated BACKOUT and RETRY recoery for transactions, the region must be PRIVILEGED or TRUSTED, or the SMSVSAM address space must be part of a class that has UPDATE access to the data sets to be recoered. If you use RACF as your external security manager, you need a minimum of RACF Version 2 Release 1 (5695-039) and PTFs to proide the required support for the LOGSTRM general resource class and to enable general resource class profile names for journals to be up to 17 characters long. IMS If a batch job uses both VSAM data sets and IMS databases, IMS ersion 6 or higher is needed so that IMS uses the MVS RRS serices. This will allow two-phase commit to be done for both VSAM and IMS requests in the batch job. DB2 If a batch job is to use both VSAM data sets and DB2 tables, DB2 ersion 5 or higher is needed so that DB2 will use MVS RRS serices. This makes use of the DB2 Recoerable Resource Serices Attachment Facility, RRSAF. Language products Runtime library support for COBOL, PL/I and C is proided by the Language Enironment (LE) component of z/os. VSAM RLS support was originally proided in LE ersion 1 release 5. Because LE is part of the z/os base elements, it now has the same ersion and release number as the leel of z/os with which it is shipped. Language Enironment: Conforming with DFSMSts restrictions Handling new VSAM error codes, as necessary LE includes the following support for DFSMSts: For languages that support dynamic allocation, including facilities in the language to specify the CRE read integrity option 2 z/os DFSMSts Administration Guide

Ealuating, planning, and installing DFSMSts Externalizing the TIMEOUT alue in the RPL to enable lock requests to time out if they cannot be satisfied within the time specified The key item for support of DFSMSts is the libraries used, not the compiler. So, while VS/COBOL II programs will work if they use the correct Language Enironment libraries, they will not work with the VS COBOL II libraries. Both COBOL and C hae the ability to create self-contained load modules. At a minimum, relinking such programs is required for them to use the DFSMSts support in LE. Programming languages and enironments: You can use these programming languages and enironments with DFSMSts: High-Leel Assembler/MVS (5696-234) IBM COBOL for z/os ersion 2 (5648-A25) IBM COBOL for MVS ersion 1 (5688-197) Restricted OS/VS COBOL language statements that result in a call to MVS GETMAIN serices worked on earlier releases. Now, a COBOL erb that results in an MVS GETMAIN will cause an 0C4 abend. In these cases, it is not the application program itself that appears to cause the 0C4. The end-of-serice date for this compiler was 12/31/2001. VS/COBOL II (5668-958 and 5688-023). No support is proided for NORES programs (CICS or batch). The Language Enironment libraries must be used. VS/COBOL II went out of serice in March 2001. C/370 Version 1, Release 2 or later (5688-040) IBM C/C++ for MVS/ESA Version 3, Release 1 or later (5655-121) VisualAge PL/I for z/os (5655-B22) IBM PL/I for MVS ersion 1 (5688-235) OS PL/I Optimizing Compiler Version 2, Release 1 or later (5668-910) OS PL/I Optimizing Compiler Version 1, Release 5.1 or later (5734-PL1) CICS also supports IBM SAA AD/Cycle Language Enironment/370 Version 1, Release 1 and Release 2 runtime enironment (5688-198) with the following COBOL, C/370, and PL/I SAA AD/Cycle compilers: SAA AD/Cycle COBOL/370 (5688-197) SAA AD/Cycle C/370 (5688-216) SAA AD/Cycle PL/I (5688-235) Processing restrictions The following restrictions apply to DFSMSts processing: VSAM RLS and DFSMSts do not support these features: Linear data sets Control interal access (CNV) for any data set organization. Addressed access to a KSDS Access to key range data sets Access to clusters with the IMBED attribute Access to temporary data sets Access using the ISAM compatibility interface Open of the indiidual components of a cluster Direct open of an alternate index Chapter 1. Ealuating, planning, and installing DFSMSts 3

Ealuating, planning, and installing DFSMSts Use of GETIX and PUTIX Checkpoint/restart Catalogs accessed in RLS or DFSMSts mode VVDSs access in RLS or DFSMSts mode The ACBSDS specification Implicit positioning at OPEN; an explicit POINT or GET NSP is required Hiperbatch CFX (ignored; NFX is assumed) DDN/DSN (ignored) DFR (ignored; NDF is assumed for direct requests that do not specify NSP) Improed control interal processing Control blocks in common (CBIC) UBF (user buffering) SHRPOOL (ignored) z/os DFSMSts Planning and Operating Guide describes some additional restrictions. Migrating to z/os Version 1 Release 4 This topic proides information that you need to consider before migrating your z/os system to use DFSMSts and describes migration tasks. For more information on migrating DFSMS to z/os Version 1 Release 4, see z/os Migration. DFSMSts enables you to run batch VSAM processing concurrently with CICS online transactions. You can run multiple batch jobs and online transactions against the same VSAM data, in data sets defined as recoerable, with concurrent updates. DFSMSts offers these features: Concurrent shared update of VSAM recoerable data sets across CICS transactions and batch applications Ability to run multiple batch jobs concurrently instead of serially Logging, commit, and backout functions 24 x 7 CICS Transaction Serer (TS) applications Data sharing across CICS TS applications, batch applications, and local or distributed object-oriented (OO) applications Building on the functionality of VSAM RLS, DFSMSts proides transactional capability within the file system. If a batch job fails during concurrent shared updates of recoerable VSAM data sets, DFSMSts proides the serices to back out any changes that the batch job made automatically, restoring the data to the state it was in at the last synchronization point (commit or back out). You can use DFSMSts in two major areas: Transactional processing proides data sharing for recoerable resources. Transactional processing ensures that the data is kept in sync while multiple parties update the data and ensures data integrity in the eent of a job or system failure. Products such as CICS, IMS, and DB2 proide a transactional enironment. Transactional recoery isolates the changes made to recoerable resources into logical units of work that are recoerable. When a transaction makes a change, 4 z/os DFSMSts Administration Guide

Ealuating, planning, and installing DFSMSts only that transaction can update the changed data. After DFSMSts commits the transaction, all data associated with that logical unit of work is aailable to other transactions for update. DFSMSts also supports forward recoery logging for data sets that are defined as forward recoerable (the LOG parameter alue is ALL). If data is lost or damaged, you can restore it from a backup, and you can use a forward recoery utility such as CICS VSAM Recoery (CICSVR) to reapply changes that were made since the last backup. CICSVR automates the recoery of lost or damaged VSAM data sets. It determines what CICS journals and VSAM backups are needed, and it constructs the recoery jobs. CICSVR proides automated complete recoery, forward recoery, and backout functions. CICSVR VSAM batch logging is aailable with CICS VSAM Recoery V3R1. For more information about CICSVR, see CICS Transaction Serer for z/os (www.ibm.com/support/knowledgecenter/ssgmgv/welcome.html). Implementing DFSMSts could affect the following areas of your processing enironment. Implementing DFSMSts could affect the following areas of your processing enironment. Area System customization Considerations Updated IGDSMSxx member of SYS1.PARMLIB Storage administration Operations Auditing Magnetic tapes Application deelopment DFSMSts log stream definitions and initialization parameters DFSMSdfp: New DFSMSts parameters in the IGDSMSxx member of SYS1.PARMLIB and in the MVS SET SMS, VARY SMS, and SETSMS commands DFSMSdss: Data sets designated by DFSMSts as eligible for backup-while-open processing None None Block sizes of up to 262 144 bytes Job control language (JCL) statements: You can specify the RLS parameter with the CRE (consistent read explicit) subparameter. Access method serices: The ALLOCATE, ALTER, DEFINE ALTERNATEINDEX, DEFINE CLUSTER, and DEFINE PATH commands hae been updated for DFSMSts. Messages and codes General use Macros: The ACB, GENCB, GET UPD, IDALKADD, RPL, POINT, and PUT UPD macros hae been updated for DFSMSts. Many MVS system messages hae been added or changed for DFSMSts, including new routing and descriptor codes. For descriptions of these messages and codes, see z/os MVS System Messages, Vol 6 (GOS-IEA), z/os MVS System Messages, Vol 8 (IEF-IGD), and z/os MVS System Messages, Vol 9 (IGF-IWM). Before using DFSMSts, ealuate which applications are good candidates and which applications cannot support the necessary changes. SYS1.PARMLIB changes for DFSMSts Table 1 on page 6 lists the changes to the IGDSMSxx member of SYS1.PARMLIB for DFSMSts. Chapter 1. Ealuating, planning, and installing DFSMSts 5

Ealuating, planning, and installing DFSMSts Table 1. IGDSMSxx changes in SYS1.PARMLIB. This table lists the changes to the IGDSMSxx member of SYS1.PARMLIB for DFSMSts. Member name Release Description Related support IGDSMSxx z/os V1R4 or aboe. New parameter: AKP Specifies the actiity keypoint trigger alue, which is the number of logging operations between taking keypoints, for one or more DFSMSts instances. New parameter: LOG_OF_LOGS Specifies the log stream to use as the log of logs. New parameter: MAXLOCKS Specifies the maximum number of unique lock requests that a single unit of recoery can make. New parameter: QTIMEOUT Specifies the quiesce exit timeout alue. Changed parameter: RLSTMOUT Specifies a timeout alue for DFSMSts requests for required locks. New parameter: SYSNAME Specifies the name or names of the systems on which DFSMSts instances are to run. New parameter: TVSNAME Specifies the identifier or identifiers of DFSMSts instances that are to run in the sysplex. New parameter: TV_START_TYPE Specifies the type of start that each instance of DFSMSts is to perform. z/os MVS Initialization and Tuning Reference and z/os DFSMSts Planning and Operating Guide JCL changes for DFSMSts Table 2 lists changes to JCL for DFSMSts support. Table 2. Changed JCL statements. This table lists changes to JCL for DFSMSts support. JCL statement Release Description Related support EXEC RLS z/os V1R4 or aboe z/os V1R4 or aboe Changed parameter: RLSTMOUT Specifies a timeout alue for DFSMSts requests for required locks. New parameter: CRE Obtains a shared lock for VSAM RLS. z/os MVS JCL Reference and z/os DFSMSts Planning and Operating Guide z/os MVS JCL Reference and z/os DFSMSts Planning and Operating Guide 6 z/os DFSMSts Administration Guide

System command changes for DFSMSts Table 3 lists new and changed system-leel commands related to DFSMSts support. Table 3. New and changed system-leel commands. This table lists new and changed system-leel commands related to DFSMSts support. Command name Release Description Related support DISPLAY SMS z/os V1R4 or aboe New parameter: DSNAME Displays all jobs that currently access the data set using DFSMSts access on the systems within the sysplex. New parameter: JOB Displays information about a particular job that is using DFSMSts serices on one of the systems in the sysplex. New parameter: LOG Displays information about a log stream that DFSMSts is currently using on one of the systems in the sysplex. New parameter: OPTIONS Displays all of the SMS parameters and their status at the time this command is issued. When DFSMSts is running on the system, the output of this command includes DFSMSts information. New parameter: SHUNTED Displays the entries currently contained in the shunt logs of the systems in the sysplex. New parameter: TRANVSAM Displays information about the instance of DFSMSts on this system or on all systems in the sysplex. New parameter: URID Ealuating, planning, and installing DFSMSts Displays information about an actie unit of recoery within the sysplex. z/os MVS System Commands and z/os DFSMSts Planning and Operating Guide Chapter 1. Ealuating, planning, and installing DFSMSts 7

Ealuating, planning, and installing DFSMSts Table 3. New and changed system-leel commands (continued). This table lists new and changed system-leel commands related to DFSMSts support. Command name Release Description Related support SET SMS z/os V1R4 or aboe New parameter: AKP Specifies the actiity keypoint trigger alue, which is the number of logging operations between taking keypoints, for one or more DFSMSts instances. New parameter: LOG_OF_LOGS Specifies the log stream that is to be used as the log of logs. New parameter: MAXLOCKS Specifies the maximum number of unique lock requests that a single unit of recoery can make. New parameter: QTIMEOUT Specifies the quiesce exit timeout alue. Changed parameter: RLSTMOUT Specifies a timeout alue for DFSMSts requests for required locks. New parameter: SYSNAME Specifies the name or names of the systems on which DFSMSts instances are to run. New parameter: TVSNAME Specifies the identifier or identifiers of DFSMSts instances that are to run in the sysplex New parameter: TV_START_TYPE z/os MVS System Commands and z/os DFSMSts Planning and Operating Guide Specifies the type of start that each instance of DFSMSts is to perform. SETSMS z/os V1R4 or aboe New parameter: AKP Changes the actiity keypoint trigger alue, which is the number of logging operations between taking keypoints, for one or more DFSMSts instances. z/os MVS System Commands and z/os DFSMSts Planning and Operating Guide New parameter: MAXLOCKS Changes the maximum number of unique lock requests that a single unit of recoery can make. New parameter: QTIMEOUT Changes the quiesce exit timeout alue. Changed parameter: RLSTMOUT Changes a timeout alue for DFSMSts requests for required locks. 8 z/os DFSMSts Administration Guide

Ealuating, planning, and installing DFSMSts Table 3. New and changed system-leel commands (continued). This table lists new and changed system-leel commands related to DFSMSts support. Command name Release Description Related support VARY SMS z/os V1R4 or aboe New parameter: LOG Enables, quiesces, or disables DFSMSts access to a log stream. New parameter: SMSVSAM,SPHERE Quiesces or unquiesces a data set for DFSMSts or RLS access. New parameter: TRANVSAM Enables, quiesces, or disables a DFSMSts instance or all DFSMSts instances in the sysplex. New parameter: TRANVSAM(nnn),PEERRECOVERY Starts or stops peer recoery processing for a failed instance of DFSMSts. z/os MVS System Commands and z/os DFSMSts Planning and Operating Guide Access method serices Table 4 lists changes to access method serices (IDCAMS) commands related to DFSMSts support. Table 4. Changed IDCAMS commands. This table lists changes to access method serices (IDCAMS) commands related to DFSMSts support. Command name Release Description Related support ALLOCATE z/os V1R4 or aboe Changed parameter: BWO(TYPECICS) The TYPECICS option of the BWO parameter specifies backup-while-open (BWO) in a DFSMSts enironment. For RLS processing, this parameter actiates BWO processing for DFSMSts. Changed parameter: DATACLAS CISIZE For DFSMSts, specification of n*2 KB aoids wasting space in the coupling facility cache structure. Changed parameter: SHAREOPTIONS When you use DFSMSts access, DFSMS assumes that the alue of SHAREOPTIONS is (3,3). z/os DFSMS Access Method Serices Commands and z/os DFSMSts Planning and Operating Guide Chapter 1. Ealuating, planning, and installing DFSMSts 9

Ealuating, planning, and installing DFSMSts Table 4. Changed IDCAMS commands (continued). This table lists changes to access method serices (IDCAMS) commands related to DFSMSts support. Command name Release Description Related support ALTER z/os V1R4 or aboe Changed parameter: BWO(TYPECICS) The TYPECICS option of the BWO parameter specifies backup-while-open (BWO) in a DFSMSts enironment. For RLS processing, this actiates BWO processing for DFSMSts. Changed parameter: LOG Establishes whether the sphere to be accessed with DFSMSts is recoerable or nonrecoerable. LOG(UNDO) specifies that changes to the sphere accessed in DFSMSts mode can be backed out using an external log. DFSMSts considers the sphere recoerable. LOG(ALL) specifies that changes to the sphere accessed in DFSMSts mode can be backed out and forward recoered using an external log. DFSMSts considers the sphere recoerable. LOGSTREAMID must also be defined. Changed parameter: LOGSTREAMID z/os DFSMS Access Method Serices Commands and z/os DFSMSts Planning and Operating Guide Changes or adds the name of the DFSMSts forward recoery log stream, for all components in the VSAM sphere. DEFINE ALTERNATEINDEX z/os V1R4 or aboe Changed parameter: BUFFERSPACE When you use DFSMSts access, DFSMS ignores the BUFFERSPACE parameter. Changed parameter: CONTROLINTERVALSIZE z/os DFSMS Access Method Serices Commands and z/os DFSMSts Planning and Operating Guide For DFSMSts, specification of n*2k aoids wasting space in the coupling facility cache structure. Changed parameter: KEYRANGES You cannot open key range data sets for DFSMSts processing because DFSMS no longer supports this parameter. Changed parameter: SHAREOPTIONS When you use DFSMSts access, DFSMS assumes that the alue of SHAREOPTIONS is (3,3). Changed parameter: WRITECHECK When you use DFSMSts access, DFSMS ignores the WRITECHECK parameter. 10 z/os DFSMSts Administration Guide

Ealuating, planning, and installing DFSMSts Table 4. Changed IDCAMS commands (continued). This table lists changes to access method serices (IDCAMS) commands related to DFSMSts support. Command name Release Description Related support DEFINE CLUSTER z/os V1R4 or aboe Changed parameter: BUFFERSPACE When you use DFSMSts access, DFSMS ignores the BUFFERSPACE parameter. Changed parameter: BWO(TYPECICS) The TYPECICS option of the BWO parameter specifies backup-while-open (BWO) in a DFSMSts enironment. For RLS processing, this actiates BWO processing for DFSMSts. Changed parameter: CONTROLINTERVALSIZE For DFSMSts, specification of n*2k aoids wasting space in the coupling-facility cache structure. Changed parameter: KEYRANGES You cannot open key range data sets for DFSMSts processing because DFSMS no longer supports this parameter. Changed parameter: LOG Establishes whether the sphere to be accessed with DFSMSts is recoerable or nonrecoerable. LOG(UNDO) specifies that changes to the sphere accessed in DFSMSts mode can be backed out using an external log. DFSMSts considers the sphere recoerable. LOG(ALL) specifies that changes to the sphere accessed in DFSMSts mode can be backed out and forward recoered using an external log. DFSMSts considers the sphere recoerable. LOGSTREAMID must also be defined. If you use LOG(NONE), DFSMSts considers the sphere to be nonrecoerable. Changed parameter: LOGSTREAMID Changes or adds the name of the DFSMSts forward recoery log stream, for all components in the VSAM sphere. z/os DFSMS Access Method Serices Commands and z/os DFSMSts Planning and Operating Guide Chapter 1. Ealuating, planning, and installing DFSMSts 11

Ealuating, planning, and installing DFSMSts Table 4. Changed IDCAMS commands (continued). This table lists changes to access method serices (IDCAMS) commands related to DFSMSts support. Command name Release Description Related support DEFINE CLUSTER (continued) Changed parameter: SHAREOPTIONS When you use DFSMSts access, DFSMS assumes that the alue of SHAREOPTIONS is (3,3). Changed parameter: WRITECHECK When you use DFSMSts access, DFSMS ignores the WRITECHECK parameter. DEFINE PATH z/os V1R4 or aboe Changed parameter: NOUPDATE Has the same meaning for DFSMSts as it does for RLS. z/os DFSMS Access Method Serices Commands SHCDS z/os V1R4 or aboe Changed parameter: LISTDS A new, optional JOBS keyword returns a list of the jobs that currently access the data set in DFSMSts mode. Listing and controlling SMSVSAM recoery on page 52 and z/os DFSMSts Planning and Operating Guide New parameter: LISTSHUNTED Lists information about work that was shunted due to an inability to complete a syncpoint (commit or backout) for a data set, a unit of recoery, or all shunted units of recoery. New parameter: PURGE Discards log entries and releases the associated locks, for use when a data set is damaged and you cannot restore it to a state that is consistent with the log entries. New parameter: RETRY Retries the syncpoint, for use when you can restore a data set to a state that is consistent with the log entries. 12 z/os DFSMSts Administration Guide

Ealuating, planning, and installing DFSMSts Macros Table 5 lists new and changed executable macros. Table 5. DFSMSdfp: Summary of changed executable macros. This table lists new and changed executable macros. Macro name Release Description Related support ACB z/os V1R4 or aboe Changed macro: CTRLACB= Specifies whether the opened ACB is to be used as a control ACB. For applications using DFSMSts, the alue of this parameter should not be YES. Changed macro: MACRF= The RLS subparameter enables DFSMSts access to a VSAM data set, as well as RLS access. VSAM uses cross-system record-leel locking as opposed to CI locking, uses the CF for buffer consistency, and manages a system-wide local cache. DFSMSts access requires the NUB subparameter, which specifies that management of I/O buffers is left up to VSAM. DFSMSts does not support ADR access to a KSDS. DFSMSts ignores the CFX subparameter and assumes that the NFX subparameter is in effect. For DFSMSts, the NRM subparameter does not allow the direct open of an alternate index. DFSMSts does not affect key processing, which the KEY subparameter specifies. The AIX, CNV, ICI, UBF subparameters are inalid for DFSMSts. DFSMSts ignores the DDN, DFR, DSN, LEW, NDF, NLW subparameters. Changed macro: RLSREAD= For DFSMSts access, the new CRE keyword specifies consistent read explicit so that an application can inhibit update or erase of a record by other transactions or applications until commit or backout. CRE can be specified only with MACRF=RLS. Changed macro: RMODE31= If MACRF=RLS is specified, RMODE31=ALL is assumed. For RLS and DFSMSts, VSAM control blocks and buffers are located in a data space owned by the SMSVSAM serer address space and are not directly addressable. DFSMSts ignores the MAREA parameter. Coding VSAM macros on page 131 and z/os DFSMSts Planning and Operating Guide Chapter 1. Ealuating, planning, and installing DFSMSts 13

Ealuating, planning, and installing DFSMSts Table 5. DFSMSdfp: Summary of changed executable macros (continued). This table lists new and changed executable macros. Macro name Release Description Related support GENCB z/os V1R4 or aboe Changed macro: CTRLACB= Specifies whether the opened ACB is to be used as a control ACB. For applications using DFSMSts, the alue of this parameter should not be YES. Changed macro: RLSREAD= For DFSMSts access, the new CRE keyword specifies consistent read explicit so that an application can inhibit update or erase of a record by other transactions or applications until commit or backout. CRE can be specified only with MACRF=RLS. Changed macro: RMODE31= For DFSMSts, VSAM control blocks and buffers are located in a dataspace owned by the SMSVSAM serer address space and are not directly addressable. RMODE31=ALL, which specifies that VSAM control blocks and I/O buffers are obtained aboe 16 megabytes, is assumed for DFSMSts processing. Changed macro: STRNO= For DFSMSts, STRNO is ignored and strings are dynamically acquired up to a limit of 1024. DFSMSts ignores the BSTRNO, BUFND, BUFNI, BUFSP, JRNAD, MAREA, MLEN, SHRPOOL, SUBSYSNM, and UPAD parameters. Coding VSAM macros on page 131 Messages and codes For DFSMSts descriptions of VSAM return and reason codes, see Understanding VSAM macro return and reason codes on page 190. For descriptions of new and changed DFSMSdfp messages and return and reason codes for DFSMSts, refer to z/os MVS System Messages, Vol 6 (GOS-IEA), z/os MVS System Messages, Vol 8 (IEF-IGD), and z/os MVS System Messages, Vol 9 (IGF-IWM). For a listing of other new and changed DFSMSdfp messages and return and reason codes, see z/os Summary of Message and Interface Changes. Migration tasks You need to consider each migration task in the following list to implement this change. Required tasks apply to any DFSMS installation enabling the function. Optional tasks apply to only specified operating enironments or to situations where there is more than one way to set up or enable the function. For more details on the procedures associated with a gien task, see the procedure reference (column 3). 14 z/os DFSMSts Administration Guide

Ealuating, planning, and installing DFSMSts This table lists migration tasks. System-leel tasks Condition Procedure reference Update the IGDSMSxx member of SYS1.PARMLIB with DFSMSts parameters Define resources for DFSMSts: Create the coupling facility structures for storing log stream data Define the maximum number of log streams for each structure Create the log stream definitions that DFSMSts needs for its system logs Define staging data sets Authorize access to system log streams Ensure that at least two actie data sets and one spare, sharing control data set are always placed for maximum aailability Required Required z/os MVS Initialization and Tuning Reference z/os DFSMSts Planning and Operating Guide This table lists migration tasks. Application-leel tasks Condition Procedure reference For DFSMSts applications that use COBOL, PL/I, and C/370 runtime libraries, ensure that the following conditions apply: The application can use DFSMSts. Ensure that the application functions correctly in a multiple-update enironment before you specify DFSMSts access. COBOL, PL/I, and C/370 support DD-based allocation, in which case you can use the JCL RLS parameter to specify the read integrity option. The recoerable data set is open for DFSMSts access if its catalog entry specifies that logging is requested and if either CRE is requested or the data set is open for output. If you use DD allocation, you might not need to recompile the application for DFSMSts. Recommendation: Do some conersion of the application to make use of syncpoint processing. COBOL has the ability to create self-contained load modules. Optional z/os DFSMSts Planning and Operating Guide z/os MVS JCL Reference z/os MVS Programming: Resource Recoery Additional information For additional information about new and changed features that apply to DFSMSts, see the rest of this administration guide and the following publications: z/os DFSMSts Planning and Operating Guide z/os MVS Initialization and Tuning Reference z/os MVS JCL Reference z/os MVS Programming: Resource Recoery z/os MVS Setting Up a Sysplex z/os MVS System Commands Chapter 1. Ealuating, planning, and installing DFSMSts 15

Ealuating, planning, and installing DFSMSts Installing DFSMSts Enabling DFSMSts on your z/os system For information about enabling DFSMSts on your z/os system, see "Installation Information" in the z/os V1R4 PSP upgrade, subsets ZOSGEN and DFSMS. Coding IGDSMSxx The IGDSMSxx member of SYS1.PARMLIB contains parameters for the initialization and tuning of DFSMSts. For more information about coding IGDSMSxx, see z/os MVS Initialization and Tuning Reference. 16 z/os DFSMSts Administration Guide

Chapter 2. Administering resources for DFSMSts This topic describes how to set up the resources that you need for using DFSMSts. Controlling access to VSAM data sets You can specify the following options to control DFSMSts access to VSAM data sets: VSAM record-leel sharing (VSAM RLS) Read integrity options Timeout alue for lock requests If a VSAM data set is recoerable, DFSMSts can open the data for input within a transaction. A recoerable VSAM data set is defined with the LOG(UNDO) or LOG(ALL) attribute. For more information about using recoerable VSAM data sets, see z/os DFSMSts Planning and Operating Guide. Accessing data sets in DFSMSts mode This topic describes the use of VSAM data sets for DFSMSts. For more information about VSAM data sets, see z/os DFSMS Using Data Sets. Using VSAM record-leel sharing VSAM record-leel sharing (RLS) is an access option for VSAM data sets. This option proides multisystem sharing of VSAM data sets across a z/os Parallel Sysplex. VSAM RLS exploits the data sharing technology of the coupling facility (CF) including a CF-based lock manager and a CF cache manager. VSAM RLS uses the CF-based lock manager and the CF cache manager in its implementation of record-leel sharing. RLS is a mode of access to VSAM spheres. RLS is not an attribute of a sphere. It is an access option interpreted at open time. The option is selected either by specifying a new JCL parameter (RLS) or by specifying MACRF=RLS in the ACB. The RLS MACRF option is mutually exclusie with the MACRF NSR (nonshared resources), LSR (local shared resources), and GSR (global shared resources) options. This topic uses the term non-rls access to distinguish between RLS access and NSR/LSR/GRS access. Access method serices do not use RLS when performing EXPORT, IMPORT, PRINT or REPRO commands. If the RLS keyword is specified in the DD statement of a data set to be opened by access method serices, the keyword is ignored and the data set is opened and accessed in non-rls mode. See Non-RLS access to VSAM data sets on page 23 for more information about non-rls access. RLS access is supported for KSDS, ESDS, RRDS, and VRRDS data sets. RLS access is supported for VSAM alternate indexes. RLS is not supported for control interal mode access (CNV or ICI) or for UNIX files. The VSAM RLS functions are proided by the SMSVSAM serer. This serer resides in a system address space. The address space is created and the serer is Copyright IBM Corp. 2003, 2017 17