z/OS DFSMShsm Diagnosis
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Verifying and patching data and sending the results to an output data set

z/OS DFSMShsm Diagnosis
GC52-1387-00

Example:This example’s command will patch the named module at address +10. The data is changed only if the 4 bytes of data at address .MODULE_NAME.+10 currently has a value of X'87654321'. The data before and after the PATCH is added to the data set USERID.PATCH.DATA and is also shown at the terminal of the issuer of the PATCH command:
PATCH .MODULE NAME.+10 X'12345678'
      VERIFY(.MODULE_NAME.+10 X'87654321') ODS(USERID.PATCH.DATA)
Example:This example uses the PATCH command to change the named module at address +10. The data is changed ONLY if the byte of data at address +10 currently has the following value:
  • bit 0 = 0
  • bits 2,3 = 1
  • bit 7 = 0
  • bits 1,4,5,6 = not tested
The data before and after the patch is added to the data set USERID.PATCH.DATA and is also shown at the terminal of the issuer of the PATCH command:
PATCH .MODULE NAME.+10 BITS(1.00...1)
      VERIFY(.MODULE_NAME.+10 BITS(0.11...0)) ODS(USERID.PATCH.DATA)

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014