home *** CD-ROM | disk | FTP | other *** search
/ Network Support Encyclopedia 15 / novell-nsepro-1992-vol15.iso / download / vmspt3.txt < prev    next >
Text File  |  1992-02-12  |  2KB  |  64 lines

  1.                INSTRUCTIONS FOR PATCHING NW_SRV.EXE
  2.                     NetWare for VMS Patch 3
  3.  
  4. This patch is to be used with NetWare for VMS Versions v2.1 r4.01
  5. and v2.1 r3.01 when running VMS v5.4-3.  It addresses a problem
  6. with certain applications padding files with extra null bytes or
  7. loosing information within the file.
  8.  
  9. This patch is necessary for compatibility with VMS 5.4-3 file
  10. sharing.  When a "file write" instruction of length zero is sent
  11. to the file server, it causes the file to be truncated at the
  12. current write offset.  VMS 5.4-3 does not allow this when the
  13. current file access does not allow write sharing.  This is the case
  14. when the file is opened with deny write and deny read/write.  This
  15. is fixed in VMS by shifting the SHDEL bit in the access call for
  16. these two cases. 
  17.  
  18.         
  19. To implement this patch: 
  20.           
  21. This patch is applied by creating NW401P3.COM in the NWVMS$COMMON 
  22. directory using a text editor.  Only those lines not preceeded by
  23. an exclamation point (!) need be entered (the (!) indicates that
  24. the line contains comments).  Once the file is entered and saved,
  25. use the following command to implement the patch: 
  26.  
  27.                $ PATCH @NW401P3.COM 
  28.  
  29. NW_SRV.EXE will be patched and a new version will be created.  
  30. Stop and start NetWare for VMS for the changes to become active. 
  31.  
  32.  
  33.  
  34. To be entered into newly created file called NW401P3.COM:
  35.          
  36. NW_SRV.EXE 
  37. !      See that it hasn't been applied 
  38. CHECK NOT ECO 3 
  39. !      Say that it has been applied 
  40. SET ECO 3 
  41. !      Define a symbol for the base location 
  42. DEFINE 
  43. FACCESS 
  44. ^X0005CFC4 
  45. EXIT 
  46. !       For the deny read/write case, replace SHRNIL(20) 
  47. !       with SHRDEL(4) 
  48. REPLACE /INSTRUCTION 
  49. ^X0005D607 
  50. 'BISB3 #^X00000020,R2,B^^X00000077(R7)' 
  51. EXIT 
  52. 'BISB3 #^X00000004,R2,B^^X00000077(R7)' 
  53. EXIT 
  54. !       For the deny write case, add SHRDEL(4) along with 
  55. !       existing SHRPUT(40) 
  56. INSERT /INSTRUCTION 
  57. ^X0005D614 
  58. 'BISL2 #^X00000040,R2' 
  59. 'BISL2 #^X00000004,R2' 
  60. EXIT 
  61. UPDATE 
  62. EXIT 
  63.  
  64.