home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / bit / listserv / ibmmain / 2701 < prev    next >
Encoding:
Text File  |  1992-11-24  |  1.2 KB  |  26 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!usc!sdd.hp.com!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!paladin.american.edu!auvm!USCMVSA.BITNET!LDW
  3. Message-ID: <IBM-MAIN%92112318394457@RICEVM1.RICE.EDU>
  4. Newsgroups: bit.listserv.ibm-main
  5. Date:         Mon, 23 Nov 1992 16:37:00 PST
  6. Sender:       IBM Mainframe Discussion list <IBM-MAIN@RICEVM1.BITNET>
  7. From:         Leonard D Woren <LDW@USCMVSA.BITNET>
  8. Subject:      Re: Need help patching executable load module or unloaded module
  9. Lines: 15
  10.  
  11. You need to update the module in place.  There is special directory
  12. information for load modules that you must be losing when you read the
  13. module, update it, and write a new copy.  Even if you patch an unloaded
  14. copy, you must be sure to preserve the block structure that IEBCOPY
  15. writes -- it's marked RECFM=VS, but you must not allow data to be
  16. moved from one block to another, split, or combined.
  17.  
  18. My recommendation would be for you to have a separate CSECT, or at
  19. least an external entry point for the expiration date (encoded), and
  20. supply AMASPZAP statements to update it.  This is the safest way to
  21. do it, and is (unfortunately) quite common.  (Unfortunately because I
  22. think that expiration dates in code is tacky.)
  23.  
  24.  
  25. /Leonard
  26.