HLASM Toolkit Feature Interactive Debug Facility User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


SELFNUCX (CMS only)

HLASM Toolkit Feature Interactive Debug Facility User's Guide
GC26-8709-07

Read syntax diagramSkip visual syntax diagram
>>-SELFNucx--+-SYMbol--symbol-name-------+---------------------><
             '-VALue--start-offset-value-'   

Lets the PROFILE macro control the start offset of the code that is relocated by a self-loading CMS Nucleus extension.

symbol-name
A symbol that defines the start of the relocated code.
start-offset-value
An expression that resolves to the start offset value.

This only applies to the target program specified when IDF was invoked.

SELFNUCX SYMBOL may only be issued within the PROFILE macro before the target program is loaded into memory. If it is issued after that point, RC=6 results.

SELFNUCX VALUE may be issued within the PROFILE macro, and may also be used later to let you (or IDF macros) redefine this offset after the target program is loaded.

When debugging a self-loading nucleus extension, it should be possible to invoke IDF to debug the program as a standard user-area or transient module, and trace through the self-loading code. After the code is relocated, use the BASE and SELFNUCX VALUE commands to follow the relocated code to its new location. Symbol resolution is automatic, determined by the program base address, symbol value, and SELFNUCX offset.

Examples

SELFNUCX SYMBOL FREEGO
SELFNUCX VALUE X'44'

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014