HP OpenVMS Systemsask the wizard |
The Question is: In a COM file I send mail to users telling the status of the job after it's done. Sometimes a users home space is full and the mail command bombs the job so I put the NOON command before the MAIL command. This seems to work most of the time but occasionaly it won't. When it works I get the following and the job continues as I want: %MAIL-E-SENDERR, error sending to user J_FLAHERTY -MAIL-E-OPENOUT, error opening !AS as output -RMS-E-CRE, ACP file create failed -SYSTEM-F-EXDISQUOTA, disk quota exceeded When the NOON command doesn't work I get the following and the job aborts: %MAIL-E-SENDERR, error sending to user C_BOTTORFF -MAIL-W-WRITEERR, error writing USER_DISK:[CBUSANAL.C_BOTTORFF]MAIL.MAI -RMS-E-EXT, ACP file extend failed -SYSTEM-F-EXDISQUOTA, disk quota exceeded Jim The Answer is : SET NOON and the processing within the sending DCL command procedure is not a factor -- SET NOON prevents termination of the execution of the command procedure, and does not control the success or failure due to such factors as the receiver's available disk quota. Ensure that the target username has sufficient quota on the login device for that user -- certain utilities will retry an I/O write attempt on insufficient quota (thus using the overdraft), but if the target user is completely overdrawn, the attempt to send MAIL can, will, and should fail. That said, very short (less than three blocks) or even one-line or subject-line-only MAIL messages are more likely to succeed than longer MAIL messages, when low quotas are a potential consideration. This is due to the way that MAIL decides to store messages in the MAIL.MAI file or in seperate mail files.
|