IBM Tivoli NetView for z/OS Version 6 Release 1
Programming: PL/I and C
SC27-2860-00
IBM Tivoli NetView for z/OS Version 6 Release 1
Programming: PL/I and C
SC27-2860-00 Note Before using this information and the product it supports, read the information in “Notices” on page 317.
This edition applies to version 6, release 1 of IBM Tivoli NetView for z/OS (product number 5697-NV6) and to all subsequent versions, releases, and modifications until otherwise indicated in new editions. © Copyright IBM Corporation 1997, 2011. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents
Figures ...... xi
About this publication ...... xiii Intended audience ...... xiii Publications ...... xiii IBM Tivoli NetView for z/OS library ...... xiii Related publications ...... xv Accessing terminology online ...... xv Using NetView for z/OS online help ...... xvi Using LookAt to look up message explanations ...... xvi Accessing publications online ...... xvii Ordering publications ...... xvii Accessibility ...... xvii Tivoli technical training ...... xvii Tivoli user groups ...... xviii Downloads ...... xviii Support information...... xviii Conventions used in this publication ...... xix Typeface conventions ...... xix Operating system-dependent variables and paths ...... xix Syntax diagrams...... xx
Part 1. Overview ...... 1
Chapter 1. High-level language services ...... 3 Running synchronous commands ...... 3 Sending commands (running asynchronous commands) ...... 3 Client and server request response handling ...... 3 Operator interaction ...... 3 Line mode input ...... 4 Line mode output ...... 4 Full-screen input/output ...... 4 Data access ...... 4 Message trapping...... 4 NetView message automation ...... 4 NetView MSU automation ...... 4 System symbolic access ...... 5 Command list variable access...... 5 Querying NetView information ...... 5 VSAM files ...... 5 Data queue manipulation ...... 5 Logical Unit 6.2 transport ...... 6 Operating remote systems ...... 6 Communication Network Management Interface ...... 6 NetView partitioned data sets ...... 7 Dynamic file allocation/deallocation ...... 7 Storage copying ...... 7 Named storage ...... 7 User-defined lock management ...... 7 Parsing character strings ...... 7 Command authorization checking ...... 7 NetView message logging ...... 8 NetView Bridge ...... 8 NetView Bridge remote access ...... 8
© Copyright IBM Corp. 1997, 2011 iii Debugging support ...... 8 Remote Interactive Debugger (RID) ...... 8 First Failure Data Capture Trace (FFDCT)...... 9
Chapter 2. HLL installation exit routines ...... 11 Overview of installation exit routines ...... 11 Coding restrictions ...... 11 Performance considerations ...... 12 General return codes ...... 12 Deleting messages ...... 12 Replacing messages...... 12 Installation exits ...... 14 BNJPALEX: Alert generation exit routine ...... 14 DSIEX01: Input from the operator ...... 14 DSIEX02A: Output to the operator...... 14 DSIEX03: Input before command processing ...... 15 DSIEX04: Log output ...... 15 DSIEX05: Before VTAM command invocation ...... 16 DSIEX06: Solicited VTAM messages ...... 16 DSIEX07: Cross-domain command send ...... 17 DSIEX09: Output to the system console ...... 17 DSIEX10: Input from the system console...... 17 DSIEX11: Unsolicited VTAM messages ...... 17 DSIEX12: Logon validation ...... 18 DSIEX13: OST/NNT message receiver ...... 18 DSIEX14: Before logoff...... 19 DSIEX16: Post-automation table installation exit for messages ...... 20 DSIEX16B: Post-automation table installation exit for MSUs ...... 20 DSIEX17: MVS message and DOM receive ...... 20 DSIEX18: Log browse installation exit ...... 20 DSIEX19: RUNCMD Installation exit ...... 20 DSIEX20: SAW exit ...... 21 DSIEX21: Encryption key for DSITCPRF installation exit ...... 21 XITBN: BSAM empty file ...... 21 XITBO: BSAM output ...... 21 XITCI: CNM interface input ...... 22 XITCO: CNM interface output ...... 24 XITDI: Data services task initialization ...... 24 XITVI: VSAM input ...... 25 XITVN: VSAM empty file ...... 25 XITVO: VSAM output ...... 26 XITXL: External logging ...... 26
Chapter 3. HLL Data Services command processors ...... 27 Installing the Data Services task ...... 27 Data Services command processors ...... 28 CNM Data Services...... 28 VSAM services ...... 29 User-defined services ...... 29 Scheduling commands under the DST ...... 29
Part 2. Enabling a high-level language program ...... 31
Chapter 4. Preinitialized and non-preinitialized environments ...... 33 Languages supported ...... 33 Advantages and disadvantages of preinitialized environments ...... 33 Steps for implementing command processors and installation exits ...... 34 Non-preinitialized environments ...... 34 Preinitialized environments ...... 34 HLL definition facilities ...... 35 iv Programming: PL/I and C Interface modules ...... 36 HLLENV command ...... 36 HLL runtime options ...... 38 Using the HLL runtime options for preinitialized environments ...... 39 Examples ...... 41 Non-preinitialized example ...... 41 Preinitialized example ...... 41
Chapter 5. Compiling, link-editing, and running your HLL program ...... 43 Compiling ...... 43 Link-editing ...... 43 Running ...... 45
Part 3. Writing a PL/I program ...... 47
Chapter 6. Coding HLL command processors and installation exits ...... 49 Initial parameters ...... 49 Runtime options...... 50 CEEUOPT runtime option CSECT ...... 50 z/OS Language Environment preinitialization defaults ...... 50 PSTACK and PHEAP ...... 51 LEOPTS static external variable...... 51 Parameters passed to HLL Service routines ...... 51 Pointer variables...... 52 Integer variables...... 53 Fixed-length character strings ...... 54 Varying length character strings ...... 54 Control blocks and Include files ...... 55 PL/I Input and output considerations ...... 56 PL/I Input and output considerations in a preinitialized environment ...... 57 PL/I runtime considerations...... 57 Considerations for HLL command processors ...... 58 Return codes ...... 58 Restrictions for HLL programs written in PL/I ...... 58 Restrictions for PL/I programs running in a preinitialized environment ...... 58
Chapter 7. PL/I high-level language services ...... 61 PL/I sample template ...... 61 Data queue management ...... 63 Sending messages ...... 64 Parsing input strings similar to NetView Command List Language ...... 65 Parsing input string similar to REXX ...... 66 Parsing input string in CNMSCAN ...... 67 Starting synchronous commands ...... 70 Sending commands...... 70 Waiting and trapping ...... 71 Example of using the TRAP and WAIT commands (PL/I) ...... 71 Example of using the PIPE command (PL/I) ...... 73 Retrieving information...... 75 Command list variable access ...... 76 Accessing common global variables (PL/I) ...... 77 Accessing stem variables using the PIPE command (PL/I)...... 78 Using locks ...... 79 Operator input ...... 79 VIEW Command processor ...... 80 Message processing...... 81 Command authorization checking ...... 82 Command authorization checking using CMDAUTH=TABLE ...... 83 Command authorization checking using CMDAUTH=SAF ...... 83 Command authorization checking sample code ...... 85
Contents v Altering data ...... 86 Storage access ...... 88 Data set access ...... 89 Communicating with devices ...... 90 Performing I/O on a VSAM file (Keyed File Access)...... 93 Coding a DST installation exit ...... 95 Coding an installation exit ...... 96 Coding the WAIT FOR DATA function ...... 97 Requesting data (PL/I) ...... 98 Sending data (PL/I) ...... 100 Automating MSUs...... 101 Translating code points ...... 102 Registering applications with MS transport and operations management ...... 103 Registering applications with the high-performance transport ...... 106 Sending an alert over the MS transport...... 109 Sending an alert over the high-performance transport ...... 110 Sending an MDB to NetView for processing ...... 112
Part 4. Writing a C program ...... 115
Chapter 8. Coding your C program interfaces and restrictions ...... 117 Initial parameters ...... 117 C runtime options ...... 117 #pragma runopts ...... 118 z/OS Language Environment preinitialization defaults ...... 118 PSTACK and PHEAP ...... 119 LEOPTS static external variable ...... 119 Parameters passed to HLL service routines ...... 119 Pointer variables ...... 120 Integer variables ...... 121 Fixed-length character strings ...... 121 Varying length character strings ...... 122 Cnmvlc: converting a string to a varying length character string ...... 124 Cnmnvlc: converting a string to a varying length character string using length ...... 125 Control blocks and include files ...... 126 C input/output considerations ...... 127 C runtime considerations ...... 128 Considerations for HLL command processors ...... 129 Return codes ...... 129 Restrictions for HLL programs written in C language ...... 129 Restrictions for C programs running in a preinitialized environment ...... 130
Chapter 9. C high-level language services ...... 131 C sample template ...... 131 Varying length character strings ...... 134 Cnmvlc ...... 134 Cnmnvlc ...... 135 Defining varying length character strings ...... 136 Data queue management ...... 136 Sending messages ...... 137 Starting synchronous commands ...... 138 Sending commands ...... 139 Waiting and trapping...... 141 Example of using the TRAP and WAIT commands (C) ...... 141 Example of using the PIPE command (C) ...... 144 Retrieving information ...... 147 Command list variable access ...... 148 Accessing common global variables (C)...... 149 Accessing stem variables using the PIPE command (C) ...... 151 Using locks ...... 152 vi Programming: PL/I and C Operator input ...... 155 VIEW command processor ...... 156 Message processing ...... 158 Command authorization checking ...... 160 Command authorization checking using CMDAUTH=TABLE ...... 161 Command authorization checking Using CMDAUTH=SAF ...... 161 Command authorization checking sample code ...... 163 Altering data ...... 164 Storage access ...... 166 Data set access ...... 168 Communicating with devices ...... 169 Performing I/O on a VSAM File (Keyed File Access) ...... 174 Coding a DST installation exit ...... 177 Coding an installation exit ...... 179 Coding the WAIT FOR DATA function ...... 181 Requesting data ...... 182 Sending data ...... 184 Automating Management Services Units (MSUs) ...... 186 Translating code points ...... 187 Registering applications with MS transport and operations management ...... 188 Registering applications with the high-performance transport ...... 189 Sending an alert over the MS transport...... 189 Sending data over the high-performance transport ...... 191 Sending an MDB to NetView for processing ...... 193
Part 5. HLL debugging and service routine reference ...... 197
Chapter 10. Testing and debugging ...... 199 Using RID to monitor a task ...... 199 RID command ...... 199 RID scenario ...... 201
Chapter 11. Service reference ...... 205 Composite return codes ...... 205 Command reference ...... 207 GLOBALV command ...... 208 GO command ...... 209 PIPE command ...... 209 QUEUE command...... 210 RESET command ...... 211 TRAP command ...... 214 WAIT command ...... 214 HLL service routine reference ...... 215 CNMALTD (CNMALTDATA): alter data on a queue ...... 215 CNMAUTO (CNMAUTOTAB): Invoke automation table ...... 217 CNMCELL (CNMSTRCELL): storage cell ...... 218 CNMCMD (CNMCOMMAND): Invoke NetView commands ...... 219 CNMCNMI (CNMI): CNMI access under a DST...... 220 CNMCPYS (CNMCOPYSTR): Copy storage ...... 222 CNMC2T (CNMCODE2TXT): Code point translation ...... 224 CNMGETA (CNMGETATTR): Query message attributes ...... 225 CNMGETD (CNMGETDATA): Data queue manipulation ...... 236 CNMHRGS (CNMHREGIST): high-performance transport application registration ...... 240 CNMHSMU (CNMHSENDMU): Send high-performance message unit ...... 243 CNMINFC (CNMINFOC): Query NetView Character Information ...... 249 CNMINFI (CNMINFOI): Query NetView Integer Information ...... 252 CNMIPXL (CNMIPXLATE): IP Address Translation ...... 255 CNMKIO (CNMKEYIO): Keyed File Access Under a DST ...... 258 CNMLK (CNMLOCK): Controlling a Lock ...... 260 CNMMEMC (CNMCLOSMEM): Close NetView Partitioned Data Set...... 261
Contents vii CNMMEMO (CNMOPENMEM): Open NetView Partitioned Data Set ...... 262 CNMMEMR (CNMREADMEM): Read NetView Partitioned Data Set ...... 263 CNMNAMS (CNMNAMESTR): Named Storage ...... 265 CNMPMDB (CNMPRSMDB): Process Message Data Block ...... 266 CNMPOOL (CNMSTRPOOL): Storage Pool ...... 268 CNMQAPI (CNMOPREP): Resource Object Data Manager ...... 269 CNMRGS (CNMREGIST): Application Registration ...... 272 CNMSCAN (CNMSSCAN): Parse or Convert Character String–PL/I Only ...... 276 CNMSCOP (CNMSCOPECK): Command, Keyword, and Value Authorization Checking ...... 278 CNMSMSG (CNMSENDMSG): Send Message or Command ...... 280 CNMSMU (CNMSENDMU): Send Message Unit ...... 284 CNMSUBS (CNMSUBSYM): Substitute System Symbolics ...... 290 CNMVARS (CNMVARPOOL): Set or Retrieve Variables ...... 291
Part 6. Appendixes ...... 297
Appendix A. PL/I Control Blocks and Include Files ...... 299
Appendix B. PL/I samples ...... 301 PL/I samples table ...... 301 PL/I samples descriptions ...... 302 PTMPPLT (CNMS4200) ...... 302 PEXIT3 (CNMS4210) ...... 302 PSNDDAT (CNMS4211) ...... 302 PWATDAT (CNMS4212) ...... 303 PEXIT2A (CNMS4213) ...... 303 PCNMI (CNMS4214) ...... 303 PKEYIO (CNMS4215)...... 303 PSCOPCK (CNMS4216) ...... 304 PFLVIEW (CNMS4217) ...... 304 PACTLU (CNMS4218) ...... 304 PSEQLOG (CNMS4219) ...... 304 PXITDI (CNMS4220) ...... 304 PXITVN (CNMS4221) ...... 304 PSNDDST (CNMS4222) ...... 305 PDOVSAM (CNMS4223) ...... 305 PPRIME (CNMS4224) ...... 305 PHSNDMU (CNMS4226) ...... 305 PRODMCON (CNMS4230) ...... 305 PAUTOTB (CNMS4231) ...... 305 PREGSTR (CNMS4232) ...... 305 PSENDMU (CNMS4233)...... 306 PHREGSTR (CNMS4236) ...... 306 PPRSMDB (CNMS4239) ...... 306 PACTPIP (CNMS4305) ...... 306
Appendix C. C language control blocks and include files ...... 309
Appendix D. C samples ...... 311 C language samples table ...... 311 C language samples descriptions ...... 312 CTMPPLT (CNMS4201) ...... 312 CEXIT3 (CNMS4240) ...... 312 CSNDDAT (CNMS4241) ...... 312 CWATDAT (CNMS4242)...... 312 CEXIT2A (CNMS4243) ...... 313 CCNMI (CNMS4244) ...... 313 CKEYIO (CNMS4245) ...... 313 CSCOPCK (CNMS4246) ...... 313 viii Programming: PL/I and C CFLVIEW (CNMS4247) ...... 314 CACTLU (CNMS4248) ...... 314 CSEQLOG (CNMS4249) ...... 314 CXITDI (CNMS4250) ...... 314 CXITVN (CNMS4251) ...... 314 CSNDDST (CNMS4252) ...... 314 CDOVSAM (CNMS4253) ...... 314 CPRIME (CNMS4254) ...... 314 CHSNDMU (CNMS4256) ...... 314 CRODMCON (CNMS4260) ...... 315 CAUTOTB (CNMS4261) ...... 315 CREGISTR (CNMS4262) ...... 315 CSENDMU (CNMS4263) ...... 315 CHREGSTR (CNMS4266) ...... 315 CPRSMDB (CNMS4269) ...... 316 CACTPIP (CNMS4405) ...... 316
Notices ...... 317 Programming Interfaces ...... 319 Trademarks ...... 319
Index ...... 321
Contents ix x Programming: PL/I and C Figures
1. Example of Link-Editing a PL/I Program 44 46. Example of File I/O in an HLL Program 2. Example of Link-EditingaCProgram....44 Written in C Language ...... 128 3. Using Pointer Variables in PL/I ...... 52 47. C sample template ...... 132 4. Using Integer Variables in PL/I ...... 53 48. Sending messages (C) ...... 138 5. Using Fixed-Length Variables in PL/I ....54 49. Starting synchronous commands .....139 6. Using Varying Length Character Strings in 50. Sending commands ...... 140 PL/I ...... 55 51. Waiting and trapping using the TRAP and 7. PL/I sample template ...... 62 WAIT command (C) ...... 142 8. Sending messages (PL/I) ...... 65 52. Waiting and trapping Using the PIPE 9. Parsing an input string (PL/I) ...... 66 command (C) ...... 145 10. Parsing an input string similar to REXX (PL/I) 67 53. Retrieving information (C) ...... 148 11. Parsing an input string in CNMSCAN (PL/I) 68 54. Command list variable access (C) .....149 12. Starting synchronous commands (PL/I) 70 55. Command list variable access (C) .....151 13. Sending a command to run another task (PL/I) 71 56. Example of using locks (C) ...... 153 14. Waiting and trapping using the TRAP and 57. Operator input (C) ...... 155 WAIT commands (PL/I) ...... 72 58. Using the full-screen view (C) ...... 157 15. Waiting and trapping using the PIPE 59. Sample Full-Screen View ...... 158 command (PL/I) ...... 74 60. Message processing (C) ...... 159 16. Retrieving Information (PL/I) ...... 76 61. Command Authorization Checking (C) 163 17. Accessing common global variables (PL/I) 77 62. Altering data (C) ...... 165 18. Accessing stem variables using the PIPE 63. Displaying contents of storage (C) ....167 command (PL/I) ...... 78 64. Data set access (C) ...... 169 19. Using locks (PL/I) ...... 79 65. CNMCNMI (C) ...... 170 20. Operator input (PL/I) ...... 80 66. VSAM Keyed File Access (C) ...... 175 21. View Command processor (PL/I) .....81 67. Coding a DST installation exit (C).....178 22. Sample panel definition ...... 81 68. Coding installation exit (C) ...... 180 23. Message processing (PL/I) ...... 82 69. Flow of the WAIT FOR DATA Function 182 24. Command authorization checking (PL/I) 85 70. Requesting Data (C) ...... 183 25. Altering data (PL/I)...... 87 71. Sending data (C) ...... 185 26. Storage Access (PL/I) ...... 88 72. Automating MSUs (C) ...... 187 27. Data set access (PL/I) ...... 89 73. Translating code points (C) ...... 188 28. CNMCNMI service routine (PL/I) .....91 74. How to register an application (C) ....188 29. Keyed File Access (PL/I) ...... 94 75. Registering an application with 30. Coding a DST installation exit (PL/I) ....96 high-performance transport (C) .....189 31. Coding an installation exit (PL/I) .....97 76. Sending an Alert over the high-performance 32. Syntax for PWATDAT ...... 98 Transport (C) ...... 190 33. Flow of the WAIT FOR DATA Function (PL/I) 98 77. Sending data over the high-performance 34. Requesting data (PL/I)...... 99 transport (C) ...... 192 35. Sending data (PL/I) ...... 101 78. Sending an MDB to NetView for processing 36. Automating MSUs (PL/I) ...... 102 (C)...... 193 37. Translating code points (PL/I) ...... 103 79. System response to RID invocation ....201 38. Registering applications with MS transport 80. PL/I Entry Screen for YOURPGM ....202 and operations management (PL/I) ....104 81. Entry Screen for CNMSMSG ...... 203 39. Registering applications with the 82. Exit Screen for CNMSMSG ...... 203 high-performance transport (PL/I) ....107 83. PL/I Exit Screen for YOURPGM .....204 40. Sending an alert over the MS transport (PL/I) 110 84. Example of command procedure cancellation 41. Sending an alert over the high-performance (1)...... 212 transport (PL/I) ...... 111 85. Example of command procedure cancellation 42. Sending an MDB to NetView for processing (2)...... 212 (PL/I) ...... 113 86. Example of command procedure cancellation 43. Using Pointer Variables in C ...... 120 (3)...... 213 44. Using Integer variables in C ...... 121 87. Example of command procedure cancellation 45. Using Varying Length Character Strings in C 124 (4)...... 213
© Copyright IBM Corp. 1997, 2011 xi xii Programming: PL/I and C About this publication
The IBM® Tivoli® NetView® for z/OS® product provides advanced capabilities that you can use to maintain the highest degree of availability of your complex, multi-platform, multi-vendor networks and systems from a single point of control. This publication, IBM Tivoli NetView for z/OS Programming: PL/I and C, describes how to write command processors and installation exit routines for the NetView product using PL/I and C.
Intended audience This publication is for system programmers who are knowledgeable about PL/I and C and familiar with the functions provided by the NetView program. This publication is also useful for network operators.
Publications This section lists publications in the IBM Tivoli NetView for z/OS library and related documents. It also describes how to access Tivoli publications online and how to order Tivoli publications. IBM Tivoli NetView for z/OS library The following documents are available in the IBM Tivoli NetView for z/OS library: v Administration Reference, SC27-2869, describes the NetView program definition statements required for system administration. v Application Programmer's Guide, SC27-2870, describes the NetView program-to-program interface (PPI) and how to use the NetView application programming interfaces (APIs). v Automation Guide, SC27-2846, describes how to use automated operations to improve system and network efficiency and operator productivity. v Command Reference Volume 1 (A-N), SC27-2847, and Command Reference Volume 2 (O-Z), SC27-2848, describe the NetView commands, which can be used for network and system operation and in command lists and command procedures. v Customization Guide, SC27-2849, describes how to customize the NetView product and points to sources of related information. v Data Model Reference, SC27-2850, provides information about the Graphic Monitor Facility host subsystem (GMFHS), SNA topology manager, and MultiSystem Manager data models. v Installation: Configuring Additional Components, GC27-2851, describes how to configure NetView functions beyond the base functions. v Installation: Configuring Graphical Components, GC27-2852, describes how to install and configure the NetView graphics components. v Installation: Configuring the GDPS Active/Active Continuous Availability Solution, SC14-7477, describes how to configure the NetView functions that are used with the GDPS Active/Active Continuous Availability solution. v Installation: Configuring the NetView Enterprise Management Agent, GC27-2853, describes how to install and configure the NetView for z/OS Enterprise Management Agent.
© Copyright IBM Corp. 1997, 2011 xiii v Installation: Getting Started, GI11-9443, describes how to install and configure the base NetView functions. v Installation: Migration Guide, GC27-2854, describes the new functions that are provided by the current release of the NetView product and the migration of the base functions from a previous release. v IP Management, SC27-2855, describes how to use the NetView product to manage IP networks. v Messages and Codes Volume 1 (AAU-DSI), GC27-2856, and Messages and Codes Volume 2 (DUI-IHS), GC27-2857, describe the messages for the NetView product, the NetView abend codes, the sense codes that are included in NetView messages, and generic alert code points. v Programming: Assembler, SC27-2858, describes how to write exit routines, command processors, and subtasks for the NetView product using assembler language. v Programming: Pipes, SC27-2859, describes how to use the NetView pipelines to customize a NetView installation. v Programming: PL/I and C, SC27-2860, describes how to write command processors and installation exit routines for the NetView product using PL/I or C. v Programming: REXX and the NetView Command List Language, SC27-2861, describes how to write command lists for the NetView product using the Restructured Extended Executor language (REXX) or the NetView command list language. v Resource Object Data Manager and GMFHS Programmer's Guide, SC27-2862, describes the NetView Resource Object Data Manager (RODM), including how to define your non-SNA network to RODM and use RODM for network automation and for application programming. v Security Reference, SC27-2863, describes how to implement authorization checking for the NetView environment. v SNA Topology Manager Implementation Guide, SC27-2864, describes planning for and implementing the NetView SNA topology manager, which can be used to manage subarea, Advanced Peer-to-Peer Networking, and TN3270 resources. v Troubleshooting Guide, GC27-2865, provides information about documenting, diagnosing, and solving problems that occur in the NetView product. v Tuning Guide, SC27-2874, provides tuning information to help achieve certain performance goals for the NetView product and the network environment. v User's Guide: Automated Operations Network, SC27-2866, describes how to use the NetView Automated Operations Network (AON) component, which provides event-driven network automation, to improve system and network efficiency. It also describes how to tailor and extend the automated operations capabilities of the AON component. v User's Guide: NetView, SC27-2867, describes how to use the NetView product to manage complex, multivendor networks and systems from a single point. v User's Guide: NetView Enterprise Management Agent, SC27-2876, describes how to use the NetView Enterprise Management Agent. v User's Guide: NetView Management Console, SC27-2868, provides information about the NetView management console interface of the NetView product. v Licensed Program Specifications, GC31-8848, provides the license information for the NetView product. v Program Directory for IBM Tivoli NetView for z/OS US English, GI11-9444, contains information about the material and procedures that are associated with installing the IBM Tivoli NetView for z/OS product.
xiv Programming: PL/I and C | v Program Directory for IBM Tivoli NetView for z/OS Japanese, GI11-9445, contains | information about the material and procedures that are associated with installing | the IBM Tivoli NetView for z/OS product. v Program Directory for IBM Tivoli NetView for z/OS Enterprise Management Agent, GI11-9446, contains information about the material and procedures that are associated with installing the IBM Tivoli NetView for z/OS Enterprise Management Agent. v IBM Tivoli NetView for z/OS V6R1 Online Library, LCD7-4913, contains the publications that are in the NetView for z/OS library. The publications are available in PDF, HTML, and BookManager® formats.
Technical changes that were made to the text since Version 6.1 are indicated with a vertical bar (|) to the left of the change. Related publications You can find additional product information on the NetView for z/OS web site at http://www.ibm.com/software/tivoli/products/netview-zos/.
For information about the NetView Bridge function, see Tivoli NetView for OS/390 Bridge Implementation, SC31-8238-03 (available only in the V1R4 library). Accessing terminology online The IBM Terminology web site consolidates the terminology from IBM product libraries in one convenient location. You can access the Terminology web site at http://www.ibm.com/software/globalization/terminology/.
For NetView for z/OS terms and definitions, see the IBM Terminology web site. The following terms are used in this library: NetView For the following products: v Tivoli NetView for z/OS version 6 release 1 v Tivoli NetView for z/OS version 5 release 4 v Tivoli NetView for z/OS version 5 release 3 v Tivoli NetView for z/OS version 5 release 2 v Tivoli NetView for z/OS version 5 release 1 v Tivoli NetView for OS/390® version 1 release 4 CNMCMD For the CNMCMD member and the members that are included in it using the %INCLUDE statement CNMSTYLE For the CNMSTYLE member and the members that are included in it using the %INCLUDE statement PARMLIB For SYS1.PARMLIB and other data sets in the concatenation sequence MVS™ For z/OS operating systems MVS element For the base control program (BCP) element of the z/OS operating system VTAM® For Communications Server - SNA Services
About this publication xv IBM Tivoli Network Manager For either of these products: v IBM Tivoli Network Manager v IBM Tivoli OMNIbus and Network Manager IBM Tivoli Netcool/OMNIbus For either of these products: v IBM Tivoli Netcool/OMNIbus v IBM Tivoli OMNIbus and Network Manager
Unless otherwise indicated, references to programs indicate the latest version and release of the programs. If only a version is indicated, the reference is to all releases within that version.
When a reference is made about using a personal computer or workstation, any programmable workstation can be used. Using NetView for z/OS online help The following types of NetView for z/OS mainframe online help are available, depending on your installation and configuration: v General help and component information v Command help v Message help v Sense code information v Recommended actions Using LookAt to look up message explanations LookAt is an online facility that you can use to look up explanations for most of the IBM messages you encounter, and for some system abends and codes. Using LookAt to find information is faster than a conventional search because, in most cases, LookAt goes directly to the message explanation.
You can use LookAt from the following locations to find IBM message explanations for z/OS elements and features, z/VM®, VSE/ESA, and Clusters for AIX® and Linux systems: v The Internet. You can access IBM message explanations directly from the LookAt web site at http://www.ibm.com/systems/z/os/zos/bkserv/lookat/. v Your z/OS TSO/E host system. You can install code on your z/OS or z/OS.e system to access IBM message explanations, using LookAt from a TSO/E command line (for example, TSO/E prompt, ISPF, or z/OS UNIX System Services running OMVS). v Your Microsoft Windows workstation. You can install LookAt directly from the z/OS Collection (SK3T-4269) or the z/OS and Software Products DVD Collection (SK3T-4271) and use it from the resulting Windows graphical user interface (GUI). The command prompt (also known as the DOS command line) version can still be used from the directory in which you install the Windows version of LookAt. v Your wireless handheld device. You can use the LookAt Mobile Edition from http://www.ibm.com/systems/z/os/zos/bkserv/lookat/lookatm.html with a handheld device that has wireless access and an Internet browser.
You can obtain code to install LookAt on your host system or Microsoft Windows workstation from the following locations: v ACDinthez/OS Collection (SK3T-4269). xvi Programming: PL/I and C v The z/OS and Software Products DVD Collection (SK3T-4271). v The LookAt web site. Click Download and then select the platform, release, collection, and location that you want. More information is available in the LOOKAT.ME files that is available during the download process. Accessing publications online The documentation DVD, IBM Tivoli NetView for z/OS V6R1 Online Library, SK2T-6175, contains the publications that are in the product library. The publications are available in PDF, HTML, and BookManager formats. Refer to the readme file on the DVD for instructions on how to access the documentation.
IBM posts publications for this and all other Tivoli products, as they become available and whenever they are updated, to the Tivoli Information Center web site at http://publib.boulder.ibm.com/infocenter/tivihelp/v3r1/index.jsp.
Note: If you print PDF documents on other than letter-sized paper, set the option in the File → Print window that enables Adobe Reader to print letter-sized pages on your local paper. Ordering publications You can order many Tivoli publications online at http://www.ibm.com/e-business/linkweb/publications/servlet/pbi.wss
You can also order by telephone by calling one of these numbers: v In the United States: 800-879-2755 v In Canada: 800-426-4968
In other countries, contact your software account representative to order Tivoli publications. To locate the telephone number of your local representative, perform the following steps: 1. Go to http://www.ibm.com/e-business/linkweb/publications/servlet/pbi.wss. 2. Select your country from the list and click Go. 3. Click About this site to see an information page that includes the telephone number of your local representative.
Accessibility Accessibility features help users with a physical disability, such as restricted mobility or limited vision, to use software products successfully. Standard shortcut and accelerator keys are used by the product and are documented by the operating system. Refer to the documentation provided by your operating system for more information.
For additional information, see the Accessibility appendix in the User's Guide: NetView.
Tivoli technical training For Tivoli technical training information, refer to the following IBM Tivoli Education web site at http://www.ibm.com/software/tivoli/education.
About this publication xvii Tivoli user groups Tivoli user groups are independent, user-run membership organizations that provide Tivoli users with information to assist them in the implementation of Tivoli Software solutions. Through these groups, members can share information and learn from the knowledge and experience of other Tivoli users.
Access the Tivoli Users Group at http://www.tivoli-ug.org.
Downloads Clients and agents, NetView product demonstrations, and several free NetView applications can be downloaded from the NetView for z/OS support web site:
http://www.ibm.com/software/sysmgmt/products/support/ IBMTivoliNetViewforzOS.html
In the "IBM Tivoli for NetView for z/OS support" pane, click Download to go to a page where you can search for or select downloads.
These applications can help with the following tasks: v Migrating customization parameters and initialization statements from earlier releases to the CNMSTUSR member and command definitions from earlier releases to the CNMCMDU member. v Getting statistics for your automation table and merging the statistics with a listing of the automation table v Displaying the status of a job entry subsystem (JES) job or canceling a specified JES job v Sending alerts to the NetView program using the program-to-program interface (PPI) v Sending and receiving MVS commands using the PPI v Sending Time Sharing Option (TSO) commands and receiving responses
Support information If you have a problem with your IBM software, you want to resolve it quickly. IBM provides the following ways for you to obtain the support you need: Online Access the Tivoli Software Support site at http://www.ibm.com/software/ sysmgmt/products/support/index.html?ibmprd=tivman. Access the IBM Software Support site at http://www.ibm.com/software/support/ probsub.html. IBM Support Assistant The IBM Support Assistant is a free local software serviceability workbench that helps you resolve questions and problems with IBM software products. The Support Assistant provides quick access to support-related information and serviceability tools for problem determination. To install the Support Assistant software, go to http://www.ibm.com/software/ support/isa/. Troubleshooting information For more information about resolving problems with the NetView for z/OS product, see the IBM Tivoli NetView for z/OS Troubleshooting Guide. Additional support for the NetView for z/OS product is available through xviii Programming: PL/I and C the NetView user group on Yahoo at http://groups.yahoo.com/group/NetView/. This support is for NetView for z/OS customers only, and registration is required. This forum is monitored by NetView developers who answer questions and provide guidance. When a problem with the code is found, you are asked to open an official problem management record (PMR) to obtain resolution.
Conventions used in this publication This publication uses several conventions for special terms and actions, operating system-dependent commands and paths, and command syntax. Typeface conventions This publication uses the following typeface conventions: Bold v Lowercase commands and mixed case commands that are otherwise difficult to distinguish from surrounding text v Interface controls (check boxes, push buttons, radio buttons, spin buttons, fields, folders, icons, list boxes, items inside list boxes, multicolumn lists, containers, menu choices, menu names, tabs, property sheets), labels (such as Tip:, and Operating system considerations:) v Keywords and parameters in text Italic v Citations (examples: titles of publications, diskettes, and CDs v Words defined in text (example: a nonswitched line is called a point-to-point line) v Emphasis of words and letters (words as words example: "Use the word that to introduce a restrictive clause."; letters as letters example: "The LUN address must start with the letter L.") v New terms in text (except in a definition list): a view is a frame in a workspace that contains data. v Variables and values you must provide: ... where myname represents... Monospace v Examples and code examples v File names, programming keywords, and other elements that are difficult to distinguish from surrounding text v Message text and prompts addressed to the user v Text that the user must type v Values for arguments or command options Operating system-dependent variables and paths For workstation components, this publication uses the UNIX convention for specifying environment variables and for directory notation.
When using the Windows command line, replace $variable with %variable% for environment variables and replace each forward slash (/) with a backslash (\)in directory paths. The names of environment variables are not always the same in the Windows and UNIX environments. For example, %TEMP% in Windows environments is equivalent to $TMPDIR in UNIX environments.
About this publication xix Note: If you are using the bash shell on a Windows system, you can use the UNIX conventions. Syntax diagrams This section describes how syntax elements are shown in syntax diagrams. Read syntax diagrams from left-to-right, top-to-bottom, following the horizontal line (the main path). Symbols The following symbols are used in syntax diagrams: Marks the beginning of the command syntax. Indicates that the command syntax is continued. | Marks the beginning and end of a fragment or part of the command syntax. Marks the end of the command syntax. Parameters The following types of parameters are used in syntax diagrams: Required Required parameters are shown on the main path. Optional Optional parameters are shown below the main path. Default Default parameters are shown above the main path. In parameter descriptions, default parameters are underlined.
Syntax diagrams do not rely on highlighting, brackets, or braces. In syntax diagrams, the position of the elements relative to the main syntax line indicates whether an element is required, optional, or the default value.
Parameters are classified as keywords or variables. Keywords are shown in uppercase letters. Variables, which represent names or values that you supply, are shown in lowercase letters and are either italicized or, in NetView help and BookManager publications, displayed in a differentiating color.
In the following example, the USER command is a keyword, the user_id parameter is a required variable, and the password parameter is an optional variable.