1 | Debug attribute | Input | Char(10) |
2 | Attribute value | Output | Char(10) |
3 | Error code | I/O | Char(*) |
The Retrieve Debug Attribute (QteRetrieveDebugAttribute) API is used to retrieve the attributes of the source debug session. These attributes may be any of the following:
The attributes of the debug environment cannot be retrieved unless the job is currently in debug mode.
None.
The name of the debug environment attribute that is retrieved. The valid values for this parameter are:
*UPDPROD | Retrieves the value of the update production files attribute. |
*DEBUGJOB | Retrieves an indicator of which job is being debugged. |
*OPMSRC | Retrieves the value of the OPM source debug attribute. |
The current value of the attribute identified in the debug attribute parameter.
When the debug attribute parameter contains *UPDPROD, the attribute value parameter can have one of the following values:
*YES | Allow the updating of production files while in debug mode. |
*NO | Do not allow the updating of production files while in debug mode. |
When the debug attribute parameter contains *DEBUGJOB, the attribute value parameter can have one of the following values:
*LOCAL | The debug session is debugging programs that run in the job in which this API is running. |
*REMOTE | The debug session is debugging programs that run in the job specified in the Start Service Job (STRSRVJOB) command. |
When the debug attribute parameter contains *OPMSRC, the attribute value parameter can have one of the following values:
*YES | Allow OPM programs that have source debug data to be debugged by using the ILE debug APIs. |
*NO | Do not allow OPM programs to be debugged by using the ILE debug APIs. |
The structure in which to return error information. For the format of the structure, see Error Code Parameter.
Message ID | Error Message Text |
---|---|
CPF3CF1 E | Error code parameter not valid. |
CPF3CF2 E | Error(s) occurred during running of &1 API. |
CPF9541 E | Not in debug mode. |
CPF9549 E | Error addressing API parameter. |
CPF9559 E | Debug attribute parameter not valid. |
Top | Debugger APIs | APIs by category |