Where allowed to run: Interactive environments (*INTERACT *IPGM *IMOD *IREXX *EXEC) Threadsafe: No |
Parameters Examples Error messages |
The Interactive Source Debugger (ISDB) tool provides an interactive debugging environment for CL, COBOL, or RPG programs.
Note: The library QTEMP is required for ISDB to run. ISDB uses the library QTEMP to access files such as the log file.
To start it:
The source of the program is displayed in the ISDB Source display, and you can debug the program using the features provided there.
None
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
PGM | Program | Qualified object name | Required, Positional 1 |
Qualifier 1: Program | Name | ||
Qualifier 2: Library | Name, *CURLIB, *LIBL | ||
UPDPROD | Update production files | *YES, *NO | Optional, Positional 2 |
INVPGM | Invoke program | *YES, *NO, *CMD | Optional, Positional 3 |
PARM | Parameters for call | Values (up to 40 repetitions): Character value | Optional, Positional 4 |
CMD | Invocation Command | Command string | Optional, Positional 5 |
SRCMBR | Source member | Name, *PGM | Optional, Positional 6 |
SRCF | Source file | Qualified object name | Optional, Positional 7 |
Qualifier 1: Source file | Name | ||
Qualifier 2: Library | Name, *CURLIB, *LIBL | ||
SRVJOB | Job to service | *, *SELECT | Optional, Positional 8 |
Top |
Use this parameter to specify the name and library of the program to be debugged.
The possible values for the library are:
Note: To debug COBOL programs with ISDB, ensure that they are compiled with the *SRCDBG option.
Top |
Use this parameter to specify whether files in production libraries can be changed while they are in debug mode.
The possible values are:
Note that you can change the update production files value from the Source display. To do this:
Top |
Use this parameter to specify whether you want ISDB to call your program, do other preparation before you invoke your program, or use a command to invoke your program.
The possible values are:
Note: You cannot use this parameter for serviced jobs.
If you start your program from the command entry screen, when your program completes running, control will return to this screen. To End ISDB or Restart, you must first exit this command entry screen (F3 or F12). The Program Termination display will then appear where you can choose to end ISDB or restart.
Note: For servicing other jobs, this is the only option you can use, but the QCMD panel is not invoked.
Top |
Use this parameter to specify any parameters required to call your program.
This parameter is not intended for the INVPGM(*NO) and INVPGM(*CMD) invocation commands.
Note: Numeric literals (for example, 500) and strings which contain null (X'00') characters should not be used in this field. Instead, use the parameter INVPGM(*CMD) and specify the appropriate CALL command in the CMD parameter. For instance, instead of entering the command:
STRISDB PGM(MYPGM) INVPGM(*YES) PARM(123 X'00')
Use the following command:
STRISDB PGM(MYPGM) INVPGM(*CMD) CMD(CALL PGM(MYPGM) PARM(123 X'00'))
Top |
Use this parameter to specify the command you want to use to invoke your program.
This parameter is not intended for the INVPGM(*NO) and INVPGM(*YES) invocation commands.
Top |
This parameter is optional, since you need to specify the source member only if it is different from the one specified in the object description of the program. The source of the member you specify will be displayed in the Source display when you invoke the program.
You will need to use this parameter if:
The possible values are:
Top |
Use these parameters to specify the file and library names of the source member you specified in the Source member prompt. You must specify both names if either one of them is different from the names specified in the object description of the program.
The possible value for the source file name is:
The possible values for the source library name are:
Top |
Use this parameter to debug a program running in a job different from the one to which you are signed on. It is useful for debugging batch jobs, or other interactive jobs.
Possible values are:
Note: SRVJOB(*SELECT) is not valid with INVPGM(*YES) or INVPGM(*CMD).
Top |
Top |
None
Top |