The Toolkit command, Set Break Program (YSETBRKPGM), creates a message queue in the QTEMP library of the invoking job, and sets a break program to receive and execute any messages sent to the queue.
Option five on the system request display (which invokes the i OS command Send Message (SNDMSG) can thus be used to send any arbitrary request string to the message queue at any point during the execution of an interactive job.
This facility can be used, for example, to start debug for a given program when you are already executing the program, or to add additional break points, to call the i OS command Entry Program (QCMD) while executing a program.
|
Copyright © 2014 CA.
All rights reserved.
|
|