VMS Help  —  LD  WATCH  /ACTION
   /ACTION[=Keyword]

 	This qualifier specifies the action to be performed when a valid
 	watchpoint is encountered. To be able to set a watchpoint one must
 	have either CMKRNL privilege, or be the owner of the device.

 	A watchpoint may have one action only: CRASH, ERROR or SUSPEND. An
 	exception is OPCOM, which may be specified in addition to any other
 	action for a specific watchpoint.

 	An optional keyword may be given:

 	ACTION=CRASH		This action will crash the system when a
 				matching lbn and function are found. Usage
 				of this keyword needs CMKRNL privilege.
 				The bugcheck type will be RSVD_LP.

 	ACTION=ERROR[=code]	This action will return a user-specified
 				errorcode when a matching lbn and function
 				are found. When the code is not specified
 				SS$_BUGCHECK will be returned.

 	ACTION=SUSPEND		This action will suspend the thread when a
 				matching lbn and function are found. This
 				enables one to look at the system with SDA
 				for further investigation. LD SHOW/WATCH will
 				show all processes waiting for a specific
 				watchpoint, while LD WATCH/RESUME will resume
 				the thread.

 	ACTION=OPCOM		This action will display an OPCOM message when
 				a matching lbn and function are found. The
 				message includes the process-id and the
 				imagename doing the request, the devicename,
 				the functioncode and the lbn. If the watchpoint
 				was a virtual one (/FILE specified) then it
 				will show the vbn as well as the file-id of
 				the corresponding file.

 	The default is /ACTION=ERROR=676 (SS$_BUGCHECK)
Close Help