Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
![]() The COMMAND option HLASM Toolkit Feature Interactive Debug Facility User's Guide GC26-8709-07 |
|
The COMMAND option tells IDF that the string following a slash (⁄) is not an argument string to be passed to the target program, but a command that it should issue to begin the debugging operation. This command is issued with a CMSCALL (SVC 204), so if it is an exec, you must specify that, as shown in the example above. You can use the same technique to debug user-area programs that need environmental setup. When the COMMAND option is specified:
If practical, when using the COMMAND option, allow the target program to execute through to the point of its return to its caller (for example, to the EXEC that was invoked by the COMMAND string and which then invoked the target program). This "normal flow of control" allows any usual "house-cleaning" needed by the operating system for these call⁄return linkages. If instead you QUIT from the target program before its normal return, it may leave a "dangling" call linkage to the target program, without a corresponding return. Quitting from a target program before a normal return is a particular problem on CMS. The CMSCALL (SVC 204) that was used from within IDF to call the COMMAND string is not returned to. If this "un-paired" SVC linkage remains undetected, you may experience difficulties in CMS. IDF termination contains special logic to check for this condition
(that is, a QUIT from the target program that was invoked with
a COMMAND string), and if detected, IDF:
If the original nesting cannot be restored within 20 calls to CMSRET, or if a CMS ABEND occurs during this processing, IDF issues another warning message (suggesting that CMS be re-IPLed) and terminates. ![]() ![]() ![]() |
![]() |