[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

1389.0. "ACCVIO in MAIL from batch procedure" by WOTVAX::63790::Doran (Good Good Stuff) Thu Sep 10 1992 11:26

ALL-IN-1 V2.4, VMS V5.5-2

I am developing an application that involves transfering some ALL-IN-1 data 
to ULTRIX. To do this, I use a command procedure running in batch that 
extracts the relevant information and does the work.

The problem occurs when using mail (ALL-IN-1) to let the user know of any 
problems that happened during the procedure. I use the following syntax...

$	allin1/noinit/reenter/user='user'
oa$ini_init
mail initialize
mail push_curmes
get oa$func = 'mail create/noedit/nosend/open/template=' cli$template
mail subject cli$subject
mail to oa$user
mail close
mail send
mail delete
mail pop_curmes
exit

The mail gets sent ok, but the procedure exits from ALL-IN-1 with an ACCVIO 
:-

%SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=0000008B, 
PC=000DEF9F, PSL=03C00000

 Improperly handled condition, image exit forced.

	Signal arguments		Stack contents

	Number = 00000005		   00000000
	Name   = 0000000C		   0FFC0000
		 00000000		   7FE3B4FC
		 0000008B		   7FE3B4E4
		 000DEF9F		   001283A4
		 03C00000		   7FE3B56C

	R0 = 0000008B  R1 = 00000001  R2 = 7FE3B56C  R3 = 00000001
	R4 = 00000000  R5 = 00029840  R6 = 00024300  R7 = 00029848
	R8 = 000299C4  R9 = 0002994C  R10= 00170320  R11= 00127F55
	AP = 7FE3B46C  FP = 7FE3B42C  SP = 7FE3B4A8  PC = 000DEF9F

This ACCVIO occurred as soon as the exit command was reached...

Any ideas (I have tried with and without the MAIL INITIALIZE command)

Cheers,

Andy

T.RTitleUserPersonal
Name
DateLines
1389.1CABINET functions are (of course) better ;^)IOSG::MAURICECeci n'est pas une noteThu Sep 10 1992 12:248
    From memory I think in V2.4 there was a problem with mail delete in
    that it tries to put the prompt message out (do you want to delete
    ...). Easiest fix (if this is the case) is to use the cabinet
    delete_document function instead.
    
    Cheers
    
    Stuart