Db2 11 for Z/OS: Command Reference Part 1

Total Page:16

File Type:pdf, Size:1020Kb

Db2 11 for Z/OS: Command Reference Part 1 Db2 11 for z/OS Command Reference IBM SC19-4054-08 Notes Before using this information and the product it supports, be sure to read the general information under "Notices" at the end of this information. Subsequent editions of this PDF will not be delivered in IBM Publications Center. Always download the latest edition from PDF format manuals for Db2 11 for z/OS (Db2 for z/OS in IBM Documentation). 2021-09-10 edition This edition applies to Db2® 11 for z/OS® (product number 5615-DB2), Db2 11 for z/OS Value Unit Edition (product number 5697-P43), and to any subsequent releases until otherwise indicated in new editions. Make sure you are using the correct edition for the level of the product. Specific changes are indicated by a vertical bar to the left of a change. A vertical bar to the left of a figure caption indicates that the figure has changed. Editorial changes that have no technical significance are not noted. © Copyright International Business Machines Corporation 1983, 2021. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents About this information.......................................................................................... ix Who should read this information...............................................................................................................ix Db2 Utilities Suite for z/OS..........................................................................................................................ix Terminology and citations............................................................................................................................x Accessibility features for Db2 11 for z/OS...................................................................................................x How to send your comments about Db2 for z/OS documentation............................................................ xi How to read syntax diagrams......................................................................................................................xi Part 1. About Db2 and related commands...............................................................1 Chapter 1. Commands in Db2......................................................................................................................3 Chapter 2. Command types and environments in Db2............................................................................... 9 Chapter 3. ABEND (DSN)........................................................................................................................... 15 Chapter 4. -ACCESS DATABASE (Db2)...................................................................................................... 17 Chapter 5. -ALTER BUFFERPOOL (Db2).................................................................................................... 23 Chapter 6. -ALTER GROUPBUFFERPOOL (Db2)........................................................................................33 Chapter 7. -ALTER UTILITY (Db2)............................................................................................................. 37 Chapter 8. -ARCHIVE LOG (Db2)............................................................................................................... 41 Chapter 9. BIND PACKAGE (DSN)............................................................................................................. 47 Chapter 10. BIND PLAN (DSN).................................................................................................................. 59 Chapter 11. BIND QUERY (DSN)................................................................................................................65 Chapter 12. BIND SERVICE (DSN).............................................................................................................69 Chapter 13. BIND and REBIND options for packages, plans, and services ............................................ 73 ACCELERATOR bind option.................................................................................................................. 73 ACQUIRE bind option........................................................................................................................... 74 ACTION bind option............................................................................................................................. 74 APCOMPARE bind option..................................................................................................................... 76 APPLCOMPAT bind option.................................................................................................................... 77 APRETAINDUP bind option.................................................................................................................. 78 APREUSE bind option...........................................................................................................................78 ARCHIVESENSITIVE bind option......................................................................................................... 80 BUSTIMESENSITIVE bind option.........................................................................................................81 CACHESIZE bind option....................................................................................................................... 82 COLLID bind option.............................................................................................................................. 82 CONCURRENTACCESSRESOLUTION bind option................................................................................83 COPY bind option..................................................................................................................................84 CURRENTDATA bind option..................................................................................................................86 CURRENTSERVER bind option............................................................................................................. 87 iii DBPROTOCOL bind option....................................................................................................................88 DATE bind option.................................................................................................................................. 88 DEC bind option....................................................................................................................................89 DECDEL bind option............................................................................................................................. 90 DEFER and NODEFER bind options......................................................................................................90 DEGREE bind option............................................................................................................................. 92 DEPLOY bind option (deprecated)....................................................................................................... 92 DESCRIPTION bind option...................................................................................................................93 DESCSTAT bind option..........................................................................................................................94 DISCONNECT bind option.................................................................................................................... 95 DYNAMICRULES bind option................................................................................................................95 ENABLE and DISABLE bind options...................................................................................................100 ENCODING bind option......................................................................................................................102 EXPLAIN bind option..........................................................................................................................103 EXTENDEDINDICATOR bind option...................................................................................................105 FILTER bind option.............................................................................................................................105 FLAG bind option................................................................................................................................106 GENERIC bind option......................................................................................................................... 106 GETACCELARCHIVE bind option........................................................................................................107 IMMEDWRITE bind option................................................................................................................. 108 ISOLATION bind option......................................................................................................................110 KEEPDYNAMIC bind option................................................................................................................111 LIBRARY bind option..........................................................................................................................112 MEMBER bind option..........................................................................................................................113 NAME bind option.............................................................................................................................
Recommended publications
  • Revised Naming for IBM Db2 Family Products
    IBM United States Software Announcement 217-363, dated July 18, 2017 Revised naming for IBM Db2 family products Table of contents 1 Overview 4 Ordering information 3 Planned availability date 4 Terms and conditions 3 Program number 5 Prices Overview IBM(R) Db2 is the database of choice for enterprise-wide solutions because it offers extreme performance, flexibility, scalability, and reliability for any size organization. IBM is organizing around the Db2 brand and, as a result, there will be name changes to all of the Db2 offerings. The dashDBTM family will now be renamed to Db2 and DB2(R) will now be referred to as Db2. The program numbers, part numbers, terms and conditions, and pricing will remain the same. The program names, service descriptions, and license information documents are updated to reflect the new names. The part number descriptions are updated to reflect the changes to the program names embedded in the descriptions. You do not need to make any changes to your systems and our offerings will contain the same technology with new names. The following table maps the program numbers from their prior names to their new names: Program number Prior program New program Effective date name name 5725-W92 IBM DB2 on Cloud IBM Db2 Hosted July 18, 2017 5725-U38 IBM dashDB for IBM Db2 July 18, 2017 Analytics Warehouse on Cloud 5725-U32 IBM Bluemix(R) IBM Bluemix July 18, 2017 Dedicated Data Dedicated Data Repositories Repositories 5737-C74 IBM dashDB IBM Db2 on Cloud July 18, 2017 Enterprise for Transactions SaaS 5724-M15 DB2 ConnectTM
    [Show full text]
  • Part 2 the Next Generation Iseries... Simplicity in an on Demand World
    IBM eServerJ iSeriesJ GP03 Technical Overview - Part 2 The Next Generation iSeries... Simplicity in an On Demand World January, May 2003 Announcements © 2000-2003 IBM Corporation IBM eServer iSeries The Customer Challenge: Solving the Cost3 Equation 2. Cost of Ongoing Operations ... Ongoing cost of skills to deploy and manage solutions © 2000-2003 IBM Corporation IBM eServer iSeries Enterprise IT management Made Simple OS/400 V5R2 Highlights Performance at your fingertips Flexible Capacity Upgrade on Demand i825, i870 and i890 Dynamic logical partitioning for award-winning 64-bit Linux7 Intuitive iSeries Navigator workload management tools Adaptive storage virtualization for high availability Mainframe-class functionality with switched disk cluster management Self-optimizing, multiple IBM DB27 UDB images for business unit consolidation Extensive Windows server management now supports Microsoft7 Cluster Service Flexible, secure management of e-business infrastructure Industry's first IBM Autonomous Computing Initiative inspired Enterprise Identity Mapping facilitates true single signon High performance Apache Web serving with secure sockets and caching accelerators Simple and pervasive operations with wireless-optimized Web-ready micro-drivers © 2000-2003 IBM Corporation IBM eServer iSeries Notes: Enterprise IT Management Made Simple OS/400 V5R2 builds on the mainframe-class management functions of OS/400 V5R1, such as dynamic logical partitioning with built-in graphical management tools such as iSeries Navigator. OS/400 V5R2 continues to focus on enterprise-class management tools with new self-managing technologies from IBM's Autonomic Computing project. V5R2 also extends many of the virtualization technologies available on the iSeries, to further assist clustering and business continuity solutions. For example, switched disk cluster services are extended with V5R2 to support database objects.
    [Show full text]
  • IBM Db2 11.5 Delivers Enhancements to Help Automate Data Management, Eliminate ETL, and Support Artificial Intelligence Data Workloads
    IBM Japan Software Announcement JP19-0637, dated October 29, 2019 Revised information: IBM Db2 11.5 delivers enhancements to help automate data management, eliminate ETL, and support artificial intelligence data workloads Table of contents 1 Overview 9 Publications 2 Key requirements 9 Technical information 2 Planned availability date 9 Ordering information 2 Description 10 Terms and conditions 8 Program number 10 Prices At a glance IBM(R) Db2(R) 11.5 offers database efficiency, simplicity, and reliability in the form of new features and enhancements that address a variety of business requirements, offering robust enterprise security features, simplified installation and deployment, improved usability and adoption, a streamlined upgrade process, enhancements to large databases, and improvements to BLU Acceleration(R): • Three editions are now available: IBM Db2 Community Edition, IBM Db2 Standard Edition, and IBM Db2 Advanced Edition. All three editions provide unrestricted access to the full feature set of IBM Db2. • IBM Db2 Advanced Recovery Feature is available with all three editions (Db2 Community Edition, Db2 Standard Edition, and Db2 Advanced Edition). This feature consists of advanced database backup, recovery, and data extraction tools that can help you improve data availability, mitigate risk, and accelerate crucial administrative tasks when time is limited. Overview This announcement supersedes the previous Software Announcement JP19-0260, dated June 4, 2019. The IBM Db2 family of hybrid data management solutions is built on an intelligent Common SQL Engine that is designed for scalability and flexibility and to run on premises, and any private and public cloud. IBM Db2 11.5 is available through three editions: • Db2 Community Edition • Db2 Standard Edition • Db2 Advanced Edition All three editions provide unrestricted access to the full feature set of IBM Db2.
    [Show full text]
  • IBM Db2 on Cloud Solution Brief
    Hybrid Data Management IBM Db2 on Cloud A fully-managed, relational database on IBM Cloud and Amazon Web Services with elastic scaling and autonomous failover 1 IBM® Db2® on Cloud is a fully-managed, SQL cloud database that can be provisioned on IBM Cloud™ and Amazon Web Services, eliminating the time and expense of hardware set up, software installation, and general maintenance. Db2 on Cloud provides seamless compatibility, integration, and licensing with the greater Db2 family, making your data highly portable and extremely flexible. Through the Db2 offering ecosystem, businesses are able to desegregate systems of record and gain true analytical insight regardless of data source or type. Db2 on Cloud and the greater Db2 family support hybrid, multicloud architectures, providing access to intelligent analytics at the data source, insights across the business, and flexibility to support changing workloads and consumptions cases. Whether you’re looking to build cloud-native applications, transition to a fully-managed instance of Db2, or offload certain workloads for disaster recovery, Db2 on Cloud provides the flexibility and agility needed to run fast queries and support enterprise-grade applications. Features and benefits of Db2 on Cloud Security and disaster recovery Cloud databases must provide technology to secure applications and run on a platform that provides functional, infrastructure, operational, network, and physical security. IBM Db2 on Cloud accomplishes this by encrypting data both at rest and in flight, so that data is better protected across its lifecycle. IBM Db2 on Cloud helps restrict data use to only approved parties with user authentication for platform services and resource access control.
    [Show full text]
  • The Business Value of DB2 UDB for Z/OS
    Front cover The Business Value of DB2 UDB for z/OS Learn about the synergy of DB2 with IBM Eserver zSeries and z/OS Discover how you can benefit from the richness in function Be ready for On Demand Business Paolo Bruni Paul Bartak Rick Butler Sreeni Janaki John Pashley ibm.com/redbooks International Technical Support Organization The Business Value of DB2 UDB for z/OS June 2005 SG24-6763-00 Note: Before using this information and the product it supports, read the information in “Notices” on page ix. First Edition (June 2005) This edition applies to IBM DB2 Universal Database for z/OS Version 8 (program number 5625-DB2). © Copyright International Business Machines Corporation 2005. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Notices . ix Trademarks . x Preface . xi The team that wrote this redbook. xii Become a published author . xiv Comments welcome. xiv Chapter 1. Evolution of the mainframe . 1 1.1 The evolution of z/Architecture . 2 1.1.1 Lower cost of entry to mainframes . 2 1.1.2 More options in pricing and performance . 2 1.1.3 Leveraging investment in existing applications . 3 1.2 Hardware. 4 1.3 Operating systems . 10 1.3.1 Value of z/OS . 10 1.3.2 Evolution of z/OS . 16 1.3.3 Other mainframe operating systems . 17 1.4 Processor . 18 1.5 Management . 19 1.6 Preparing new mainframers . 20 1.7 2000 through 2005: The era of on demand.
    [Show full text]
  • IBM DB2 V11.1 and IBM DB2 Connect V11.1 Add New Support Options and Boost Feature Set to Help Manage Enterprise Data, Improve Pr
    IBM Europe Software Announcement ZP16-0221, dated December 13, 2016 IBM DB2 V11.1 and IBM DB2 Connect V11.1 add new support options and boost feature set to help manage enterprise data, improve programmer productivity, and deliver fast and robust connectivity to DB2 databases deployed on IBM z Systems or IBM i Table of contents 1 Overview 8 Publications 2 Key prerequisites 9 Technical information 2 Planned availability date 9 Ordering information 3 Description 10 Terms and conditions 5 Product positioning 14 Prices 8 Program number 14 Announcement countries At a glance IBM(R) DB2(R) V11.1 for LinuxTM, UNIXTM, and WindowsTM (IBMDB2) delivers the following capabilities: • Hybrid database software for the always available, mission-critical transactional, analytical, and mixed workload applications with security-rich features that protect data at rest or in-flight • A database that is designed to be simple to deploy, upgrade, and maintain, with continuous availability for transactional workloads of any size • Expanded, in-memory columnar technology that offers the improved scalability and performance for analytics and warehousing workloads • New product signature that indicates whether an incremental update within the same version and release contains new functionality in addition to defect fixes and security updates DB2 ConnectTM V11.1 offers new features and enhancements: • Significant feature enhancements to improve connectivity, with ease of application deployment, availability, and security for the applications that connect to either DB2 for z/OS(R) or DB2 for i • Several editions available for flexible licensing options, addressing usage scenarios in small-scale and large-scale organizations Overview IBM DB2 V11.1 updates and new product signature With the IBM DB2 V11.1 family of products, IBM DB2 is announcing a new product signature that indicates whether an incremental update within the same version and release contains new functionality in addition to fixes, defect support, and security updates.
    [Show full text]
  • Data Engineering
    Bulletin of the Technical Committee on Data Engineering December, 1993 Vol. 16 No. 4 IEEE Computer Society Letters Letter from the TC Chair . .......................................................Rakesh Agrawal 1 Letter from the Editor-in-Chief . ..................................................David Lomet 2 Special Issue on Query Processing in Commercial Database Systems Letter from the Special Issue Editor . .................................................Goetz Graefe 3 Query Optimization in the IBM DB2 Family . .........Peter Gassner, Guy Lohman, and K. Bernhard Schiefer 4 Query Processing in the IBM Application System 400. Richard L. Cole, Mark J. Anderson, and Robert J. Bestgen 18 Query Processing in NonStop SQL . A. Chen, Y-F Kao, M. Pong, D. Shak, S. Sharma, J. Vaishnav, and H. Zeller 28 Query Processing in DEC Rdb: Major Issues and Future Challenges . .................Gennady Antoshenkov 41 Conference and Journal Notices 1994 International Conference on Data Engineering. .........................................back cover Editorial Board TC Executive Committee Editor-in-Chief Chair David B. Lomet Rakesh Agrawal DEC Cambridge Research Lab IBM Almaden Research Center One Kendall Square, Bldg. 700 650 Harry Road Cambridge, MA 02139 San Jose, CA 95120 [email protected] [email protected] Vice-Chair Associate Editors Nick J. Cercone Shahram Ghandeharizadeh Assoc. VP Research, Dean of Graduate Studies Computer Science Department University of Regina University of Southern California Regina, Saskatchewan S4S 0A2 Los Angeles,
    [Show full text]
  • IBM's Business Intelligence (BI) and Analytics Update
    IBM's Business Intelligence (BI) and Analytics Update Mike Biere IBM Sr. Technology Consultant March 14, 2012 Session Number 10871 Agenda • Business Analytics offerings • IBM Cognos 10 BI for Linux on System z * • IBM Cognos 8 BO for z/OS * • SPSS * • IBM QMF 10 * • Supportive and acquisition software for analytics • DB2 10 for z/OS • IBM DB2 Analytics Accelerator (IDAA) * • DemandTec - application for retailers and consumer products companies • Emptoris - strategic supply and contract management software solutions 2 * We will discuss these Best Of Breed Components Global Name Cognos BI The Integrated Stack for System z Recognition SPSS InfoSphere Industry Models s n c r Guardium i o t e i l InfoSphere t s i e a t r d MDM Server a o t o b S M a l l Master o Data InfoSphere C Warehouse QMF Warehouse Optim Cubing Mashup InfoSphere Information Information Server Services Director Data Quality ETL Data Synchronization Operational Applications Operational Source Systems Structured/3 Unstructured Data Federation Change Data Replication Classic Classic Event Capture Server Federation Publisher Delivers an end-to-end IBM Cognos Business Intelligence solution on a single platform for Linux on System z • Full range of BI capabilities • Query, reporting, analysis, dashboarding, realtime monitoring • Delivers information where, when and how it is needed • Self-service reporting and analysis • Automated delivery of information in context • Author once, consume anywhere • Purpose-built SOA platform • Fits client environments and 4 scales easily Delivers
    [Show full text]
  • Introduction to Db2 for Z/OS
    Db2 11 for z/OS Introduction to Db2 for z/OS IBM SC19-4058-10 Notes Before using this information and the product it supports, be sure to read the general information under "Notices" at the end of this information. Subsequent editions of this PDF will not be delivered in IBM Publications Center. Always download the latest edition from PDF format manuals for Db2 11 for z/OS (Db2 for z/OS in IBM Documentation). 2021-09-23 edition This edition applies to Db2® 11 for z/OS® (product number 5615-DB2), Db2 11 for z/OS Value Unit Edition (product number 5697-P43), and to any subsequent releases until otherwise indicated in new editions. Make sure you are using the correct edition for the level of the product. Specific changes are indicated by a vertical bar to the left of a change. A vertical bar to the left of a figure caption indicates that the figure has changed. Editorial changes that have no technical significance are not noted. © Copyright International Business Machines Corporation 2001, 2021. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents About this information.......................................................................................... ix Who should read this information...............................................................................................................ix Db2 Utilities Suite for z/OS...........................................................................................................................x Terminology
    [Show full text]
  • Introduction to Db2 for Z/OS
    Db2 12 for z/OS Introduction to Db2 for z/OS IBM SC27-8852-02 Notes Before using this information and the product it supports, be sure to read the general information under "Notices" at the end of this information. Subsequent editions of this PDF will not be delivered in IBM Publications Center. Always download the latest edition from PDF format manuals for Db2 12 for z/OS (Db2 for z/OS in IBM Documentation). 2021-09-17 edition This edition applies to Db2® 12 for z/OS® (product number 5650-DB2), Db2 12 for z/OS Value Unit Edition (product number 5770-AF3), and to any subsequent releases until otherwise indicated in new editions. Make sure you are using the correct edition for the level of the product. Specific changes are indicated by a vertical bar to the left of a change. A vertical bar to the left of a figure caption indicates that the figure has changed. Editorial changes that have no technical significance are not noted. © Copyright International Business Machines Corporation 2001, 2021. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents About this information.......................................................................................... ix Who should read this information................................................................................................................x Db2 Utilities Suite for z/OS...........................................................................................................................x Terminology
    [Show full text]
  • Introduction to DB2
    Chong_Chapter01.fm Page 1 Tuesday, December 4, 2007 12:53 PM C HAPTER1 Introduction to DB2 ATABASE 2 (DB2) for Linux, UNIX, and Windows is a data server developed by IBM. D Version 9.5, available since October 2007, is the most current version of the product, and the one on which we focus in this book. In this chapter you will learn about the following: • The history of DB2 • The information management portfolio of products • How DB2 is developed • DB2 server editions and clients • How DB2 is packaged for developers • Syntax diagram conventions 1.1 BRIEF HISTORY OF DB2 Since the 1970s, when IBM Research invented the Relational Model and the Structured Query Language (SQL), IBM has developed a complete family of data servers. Development started on mainframe platforms such as Virtual Machine (VM), Virtual Storage Extended (VSE), and Mul- tiple Virtual Storage (MVS). In 1983, DB2 for MVS Version 1 was born. “DB2” was used to indicate a shift from hierarchical databases—such as the Information Management System (IMS) popular at the time—to the new relational databases. DB2 development continued on mainframe platforms as well as on distributed platforms.1 Figure 1.1 shows some of the high- lights of DB2 history. 1. Distributed platforms, also referred to as open system platforms, include all platforms other than main- frame or midrange operating systems. Some examples are Linux, UNIX, and Windows. 1 Chong_Chapter01.fm Page 2 Tuesday, December 4, 2007 12:53 PM 2 Chapter 1 • Introduction to DB2 Platform SQL/DS VM/VSE DB2 for MVS MVS V1 OS/400 SQL/400 OS/2 OS/2 V1 Extended Edition with RDB capabilities DB2 DB2 DB2 9.5 AIX DB2 for Parallel AIX V1 Edition UDB HP-UX V1 V5 Solaris & DB2 V1 other UNIX (for other UNIX) Windows Linux 1982 1983 1987 1988 1993 1994 1996 2007 Years Figure 1.1 DB2 timeline In 1996, IBM announced DB2 Universal Database (UDB) Version 5 for distributed platforms.
    [Show full text]
  • IBM DB2 Intelligent Miner for Data for AS/400 V6R1, Greater Competitiveness Through Informed Decision Making
    Software Announcement September 21, 1999 IBM DB2 Intelligent Miner for Data for AS/400 V6R1, Greater Competitiveness Through Informed Decision Making Overview IBM GBIS: Global Business Intelligence Solutions continues to At a Glance IBM DB2 Intelligent Miner for offer data mining consultancy, Data for AS/400 enables recognized as the best in the Now even more business knowledge workers to identify and industry. intelligence users can readily extract high-value business obtain the information they need to intelligence from large amounts of DB2 Intelligent Miner for Data for develop smart business strategies. enterprise data. Version 6 AS/400 is based on a client/server The enhanced capabilities of this Release 1 (V6R1) offers new architecture and mines data directly product let you: analysis and data exploration options from DB2 as well as from other data • that enhance core data mining sources via DB2 DataJoiner . Data Analyze business information capability while making critical data and metadata can also be exchanged more effectively with: with warehouses and business more accessible to those who need − intelligence tools and applications. A new Associations it most. Business analysts and Visualizer managers are empowered to make Supported clients are Windows 95, better informed decisions to improve Windows 98, Windows NT , AIX , − Extended data exploration customer relations, maximize profits, and OS/2 . • Improve productivity through: and reduce risk of fraud and abuse. Key Prerequisites − Export to spreadsheet DB2 Intelligent Miner for Data for AS/400 V6R1 places increased focus • The IBM DB2 Intelligent Miner for − Copy to clipboard on bringing the value of data mining Data for AS/400 requires an to more business intelligence users.
    [Show full text]