home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / vms / 15037 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  3.4 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!UH01.Colorado.EDU!DWING
  2. From: DWING@UH01.Colorado.EDU (Dan Wing)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: %BACKUP-E-NOMSG, Message number 00A38012 ???
  5. Message-ID: <01GOS6TBZILU0000CG@VAXF.COLORADO.EDU>
  6. Date: 14 Sep 92 23:31:58 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Distribution: world
  9. Organization: The Internet
  10. Lines: 91
  11.  
  12. Brent Sterner, <BRENT@uwo.ca>, writes:
  13.  
  14. >   OK, I've been doing other work for too long.  I have a user who
  15. >   complained that backup produced the following diagnostics:
  16. >
  17. >     %BACKUP-E-NOMSG, Message number 00A38012
  18. >    and
  19. >     %BACKUP-W-NOMSG, Message number 00A38410
  20. >
  21. >   So I pumped the numbers through the DCL f$message lexical, and the
  22. >   messages are indeed exactly what the user reported.  So, what is wrong
  23. >   (and what is *really* going on)?  Hints would be appreciated.  A clear
  24. >   resolution would be met with his eternal gratitude.  Chow,  b.
  25.  
  26. The BACKUP error messages are in SYS$MESSAGE:SYSMGTMSG:
  27.  
  28.   $ SET MESSAGE SYS$MESSAGE:SYSMGTMSG
  29.   $ WRITE SYS$OUTPUT F$MESSAGE(%X0A38410)
  30.   %BACKUP-W-ACCONFLICT, !AS is open for write by another user
  31.   $ WRITE SYS$OUTPUT F$MESSAGE(%X0A38012)
  32.   %BACKUP-E-OPENOUT, error opening !AS as output
  33.  
  34. You can avoid the anoyying "Message number nnnn" messages by lowering the
  35. users' FILLM (in SYSUAF) to something smaller than CHANNELCNT (in SYSGEN).
  36. There's a DSNlink article that recommends FILLM be at least 15 less than
  37. CHANNELCNT.
  38.  
  39. If this is really a "user", you may want to (or you may not want to!) tune
  40. their username to use BACKUP efficiently per the VMS V5.2 release notes.
  41.  
  42. Also see attached .COM file.
  43.  
  44. -Dan Wing, DWING@UH01.Colorado.EDU or WING_D@UCOLMCC.BITNET (DGW11)
  45.  Systems Programmer, University Hospital, Denver
  46.  
  47.  
  48. $! MESSAGE.COM - get text of a message number
  49. $!
  50. $! P1 = message number (integer)
  51. $!
  52. $! Sample usage:
  53. $!   @TRYMSG %X0000002A
  54. $!
  55. $!  EDIT DATE  EDIT  BY   DESCRIPTION
  56. $!  ---------  ----  ---  ---------------------------------------
  57. $!   2-SEP-92  102   DGW  Handle and display errors caused by 
  58. $!                        "%SYSTEM-F-IVSECIDCTL".
  59. $!  13-AUG-92  101   DGW  Added SET MESSAGE/DELETE (per David P. Murphy,
  60. $!                        <murphy@npri6.npri.com>) to remove effect of SET
  61. $!                        MESSAGEs.
  62. $!  13-AUG-92  100   DGW  Documented, upcased, added 'no message found'.
  63. $!
  64. $!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  65. $
  66. $
  67. $  IF F$TYPE(P1) .NES. "INTEGER" 
  68. $  THEN
  69. $    WRITE SYS$OUTPUT "P1 must be an INTEGER"
  70. $    GOTO DONE
  71. $  ENDIF
  72. $
  73. $  P1 = F$INTEGER(P1)
  74. $  WRITE SYS$OUTPUT F$FAO("Searching for all messages with value %X!XL",P1)
  75. $  MESSAGE_FOUND = 0
  76. $
  77. $LOOP:
  78. $  FILENAME = F$SEARCH("SYS$MESSAGE:*.EXE;")
  79. $  IF FILENAME .EQS. "" THEN GOTO DONE
  80. $
  81. $  WRITE SYS$OUTPUT F$FAO("!5* Checking !AS", FILENAME)
  82. $  DEFINE/USER_MODE SYS$OUTPUT NLA0:    ! ignore "%SYSTEM-F-IVSECIDCTL" errors
  83. $  DEFINE/USER_MODE SYS$ERROR NLA0:
  84. $  SET noON
  85. $  SET MESSAGE 'FILENAME'
  86. $  IF .NOT. $STATUS THEN WRITE SYS$OUTPUT "(Error using above file: ", F$MESSAGE($STATUS), ")"
  87. $  SET ON
  88. $  TEXT = F$MESSAGE('P1')
  89. $
  90. $  IF F$EXTRACT(0,7,TEXT) .EQS. "%NONAME" THEN GOTO LOOP
  91. $  IF F$LOCATE("-NOMSG,",TEXT) .NE. F$LENGTH(TEXT) THEN GOTO LOOP
  92. $  WRITE SYS$OUTPUT TEXT
  93. $  WRITE SYS$OUTPUT ""
  94. $  MESSAGE_FOUND = 1
  95. $  GOTO LOOP
  96. $
  97. $DONE:
  98. $  IF .NOT. MESSAGE_FOUND THEN WRITE SYS$OUTPUT -
  99.      F$FAO("No messages found in SYS$MESSAGE for %X!XL",P1)
  100. $  SET MESSAGE/DELETE
  101. $  EXIT
  102.  
  103.