Customizing z/OS Debugger: checklist
Planning your debug sessionin the IBM z/OS Debugger User's Guide with your application programmers and library system administrator. Reviewing that topic helps you gather the following information, which you need to identify which customization tasks you must do:
- Which version of compilers you are using
- Whether you are debugging Db2®, Db2 stored procedures, CICS®, and IMS programs
- Whether you are using full-screen mode, full-screen mode using the Terminal Interface Manager, batch mode, or remote debug mode
- How your programs will call z/OS Debugger
- Whether you will be using IBM® z/OS Debugger Utilities, ADFz Common Components, or Application Delivery Foundation for z/OS tools
- Whether you will need to modify some behaviors of the debugger
After you gather this information, review the following checklists. As you read each item on the checklist, you use the information you gathered to determine if you need to do that customization task. If the task is not applicable to your site, you can skip that task.
- Product Registration
- Installing the z/OS Debugger SVCs.
- Setting up the APF-authorized system link list data set (SEQABMOD)
- Setting up the link list data set (SEQAMOD)
- Enabling debugging in full-screen mode using the Terminal Interface Manager.
- If your application programmers debug in remote debug mode, review Adding support for remote debug users.
- Read Specifying the TEST runtime options through the Language Environment user exit and review with your users to see if they need
you to do this customization.
If you previously installed any of these Language Environment® user exits: EQADDCXT, EQADICXT, EQADBCXT, switch to the EQAD3CXT user exit.
If you previously installed the Language Environment user exit EQAD3CXT, rebuild this exit. z/OS Debugger has updated the sample assembler user exits and the load modules.
-
Read Installing the browse mode RACF facility if you want to control which users have access to z/OS Debugger, or control which users can access z/OS Debugger only through browse mode.
Note: If you have defined a generic Facility class profile (for example, *.*), you might have to install the browse mode RACF® facilities, even if neither of the previous considerations applies. For example, if you have a generic Facility class profile of *.* with UACC(NONE) and you do not install the browse mode RACF facilities, no users would be allowed to use z/OS Debugger.
- Choosing a method to start IBM z/OS Debugger Utilities.
- Customizing the data set names in EQASTART.
- Adding IBM z/OS Debugger Utilities to the ISPF menu.
- For the JCL for Batch Debugging utility, you must specify default values for the yb1dtmod and yb1dtbin parameters. See Customizing for JCL for Batch Debugging utility.
- If you are using z/OS Debugger Setup Utility, see Customizing z/OS Debugger Setup Utility.
- If you are using other IBM Application Delivery Foundation for z/OS tools, such as File Manager for z/OS, see Customizing Other IBM Application Delivery Foundation for z/OS tools for multiple systems.
- If you are using Program Preparation, see Customizing Program Preparation.
- For the IMS BTS Debugging option, you must specify default values for yb2* parameters. See Customizing IMS BTS Debugging.
- If your site debugs Db2 stored procedures, see Preparing your environment to debug Db2 stored procedures.
- If your site debugs CICS programs, see Adding support for debugging under CICS.
- If your site debugs IMS programs, see Adding support for debugging under IMS and implement scenario A.
- If your site debugs non-Language Environment IMS programs, see Adding support for debugging under IMS and implement scenario C.
As you review the rest of the checklist, if you need to do an item that requires that you specify an EQAOPTS command, you can print a copy of the checklist and use it to record the commands you need to specify and the values for any options. When you are done reviewing the checklist, you can specify all the EQAOPTS commands at one time as described in Creating EQAOPTS load module.
- Application programmers are debugging in remote debug mode and the source or compiler use a code
page other than 037. If your C/C++ source contains square brackets or other special characters, you
might need to specify an EQAOPTS
CODEPAGE
command to override the z/OS Debugger default code page (037). Check the code page specified when you compiled your source. The C/C++ compiler uses a default code page of 1047 if you do not explicitly specify one. If the code page used is 1047 or a code page other than 037, you need to specify an EQAOPTSCODEPAGE
command specifying that code page. - Application programmers are debugging in full screen mode and encounter one of the following
situations:
- They use the STORAGE command to update COBOL NATIONAL variables.
- The source is coded in a code page other than 037.
- Application programmers use the
XML(CODEPAGE(ccsid))
parameter on aLIST CONTAINER
orLIST STORAGE
command to specify an alternate code page.
- These EQAOPTS commands enable certain z/OS Debugger functions:
- ALTDISP
You want z/OS Debugger to display the at sign (@) in the prefix area of a line to indicate that the line contains a breakpoint, instead of using a colored line. - BROWSE
You want to restrict access to z/OS Debugger or control which users1 must debug in browse mode. - CCOUTPUTDSN
You want to use Code Coverage and need to specify the name of the Observation data set. - CCOUTPUTDSNALLOC
You want to use Code Coverage and need to specify the allocation parameters for the Observation data set. - CCPROGSELECTDSN
You want to use Code Coverage and need to specify the name of the Options data set. - DLAYDBG
You want to allow users to use the delay debug mode. - EQAQPP
Your site needs to debug Q++ programs. - IGNOREODOLIMIT
You want to tell z/OS Debugger to display COBOL table items even when an ODO value is out of range. - LOGDSNALLOC
You want z/OS Debugger to automatically create a LOG data set for each user. - MDBG
Your site uses z/OS XL C/C++, Version 1.10, or later, and you want z/OS Debugger to retrieve source and debug information from .mdbg files. - SAVESETDSNALLOC, SAVEBPDSNALLOC
You want z/OS Debugger to automatically create either of the following data sets:- A data set to save and restore settings
- A data set to save and restore breakpoints, monitor values and LOADDEBUGDATA (LDD) specifications
- STARTSTOPMSG
You want z/OS Debugger to issue a message when each debugging session is initiated or terminated. - SUBSYS
If your site uses a library system that uses the SUBSYS allocation parameter and your application programmers debug C, C++, or Enterprise PL/I programs, review this command to determine if you need to change the SUBSYS parameter. - SVCSCREEN
You need to debug non-Language Environment programs that start under Language Environment, Language Environment programs that use the MVS LINK, LOAD or DELETE services, LangX COBOL programs, or your site has any host products that might use SVC screening when z/OS Debugger is started.
- ALTDISP
- If your site uses any of the following functions in a Japanese or Korean environment,
see Enabling additional languages for some z/OS Debugger components through EQACUIDF:
- IBM z/OS Debugger Utilities ISPF panels
- z/OS Debugger Code Coverage
- EQANMDBG (non-CICS non-Language Environment support)
- These EQAOPTS commands modify the behavior of certain z/OS Debugger functions:
- CACHENUM
You want to reduce z/OS Debugger's CPU consumption in certain cases. - CEEREACTAFTERQDBG
You want to restart z/OS Debugger withCEETEST
after you useQUIT DEBUG
. - COMMANDSDSN
You want to change the default data set name for the user's commands file. - DEFAULTVIEW
You want to change the default setting for SET DEFAULT VIEW so that assembler macro-generated statements are not displayed in the Source window. - DLAYDBGCND
You want to change the default delay debug setting for monitoring condition events. - DLAYDBGDSN
You want to change the default name of the delay debug profile data set. - DLAYDBGTRC
You want to change the default delay debug pattern match trace message level. - DLAYDBGXRF
You want to instruct delay debug to use the cross reference file to find the user ID when it constructs the delay debug profile data set name. - DTCNDELETEDEADPROF
You want to change the default setting for controlling the deletion of dead DTCN profiles. - DTCNFORCExxxx
You want to change the default DTCN behavior for certain resource types. - DYNDEBUG
You want to change the initial or default value of SET DYNDEBUG. - GPFDSN
Your site wants to control the appearance or settings, through z/OS Debugger commands, of all debugging sessions, create a global preferences file. The global preferences file is a file that is processed at the beginning of every debugging session and contains z/OS Debugger commands. See this command for instructions on how to create a global preferences file. - HOSTPORTS
Your users are using the remote debugger and you need to specify a host port or range of ports for a TCP/IP connection from the host to the workstation. - LOGDSN
You want to change the default data set name for the LOG data set. - MAXTRANUSER
You want to use the IMS Transaction Isolation Facility described in Adding support for debugging under IMS, and you need to set the maximum number of transactions that a single user can debug to something less than 15. - MULTIPROCESS
You want to change the default behavior of z/OS Debugger when a new POSIX process is created by a fork() or exec() function. - NAMES
Your site needs to issue aNAMES
command for the initial load module or any of its compile units. - NODISPLAY
To modify the debugger's behavior when a full-screen mode using the Terminal Interface Manager or a remote debugger is not available. - PREFERENCESDSN
You want to change the default data set name for the user's preferences file. - SAVEBPDSN, SAVESETDSN
Your site wants to change the default names, which areuserid.DBGTOOL.SAVESETS
anduserid.DBGTOOL.SAVEBPS
, of the data sets that store settings, breakpoints, and monitor values. - SESSIONTIMEOUT
You want to specify an idle session timeout for users who are using the Terminal Interface Manager. - STARTSTOPMSGDSN
You want z/OS Debugger to write information to a log data set when each non-CICS debugging session is initiated or terminated. - TCPIPDATADSN
Your users are using the remote debugger and your host TCP/IP does not have a specification for GLOBALTCPIPDATA. - THREADTERMCOND
Your site wants z/OS Debugger to suppress the prompt that Language Environment displays every time when the statements like STOP RUN, GOBACK, or EXEC CICS RETURN are run. These statements can occur frequently in an application program, creating unnecessary interruptions for a user trying to debug the application program. - TIMACB
You want to change the default ACB name for the Terminal Interface Monitor.
- CACHENUM
- If your site is using the EQAUEDAT user exit to direct z/OS Debugger to the location of source, listing, or separate debug files, see Enabling the EQAUEDAT user exit.
- If your site needs to change the defaults for NATLANG, LOCALE, or LINECOUNT, see Changing the default and allowable values in EQACUIDF.
BROWSE
command works with the RACF
profiles by reviewing the table in the topic Controlling browse modeof the IBM z/OS Debugger User's Guide.