[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
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 |
211.0. "ACCVIO using MAIL READ in BATCH mode" by EVENS::NUTKINSM (Martin Nutkins) Wed Mar 11 1992 00:26
I am having a problem using the MAIL READ command in batch mode which
results in the infamous ACCESS VIOLATION message. I gather from
other notes that this is not unusual for mail commands in batch.
I have tried various alternative ways including using a MAIL GET first.
Am I doing anything wrong ?
Any suggestion/workarounds on the following :-
AW.COM
$ allin1/noinit/username="nutkinsm"
oa$ini_init
do aw.scp
exit
AW.SCP
! AW.SCP
!
oa$tra_set form,field,mess,put,symbol,log,flow,all,a1log,input,script,scrchr
.trace
get #x = "INBOX 012864"
mail init
mail read #x
get #title = oa$curmes_title
mail file_body #title,"TEMP"
A1TRACE.LOG
0 ! [SCP/TRACE] .trace << aw.scp 0004
0 ! [SCP/TRACE] get #x = "INBOX 012864" << aw.scp 0005
0 ! %OA-I-LOGFUN, Function: GET #x = "INBOX 012864"
0 ! GET Symbol: #x = "INBOX 012864"
1 ! Value: INBOX 012864
1 ! [SCP/TRACE] mail init << aw.scp 0006
1 ! %OA-I-LOGFUN, Function: MAIL init
1 ! OA$FLO_OPEN_FORM: Opening form - NIENTR
1 ! in DISK$USER5:[ALLIN1.LIB_BRITISH]OAFORM.FLB;
3 ! OA$FLO_OPEN_FORM: Opening form - NETWORK
3 ! in DISK$USER5:[ALLIN1.LIB_BRITISH]MEMRES.FLB;
9 ! OA$FLO_OPEN_FORM: Opening form - MR$PASSWORD
9 ! in DISK$USER5:[ALLIN1.LIB_BRITISH]OAFORM.FLB;
13 ! GET Symbol: SYS$OA$MTI_TIME_ZONE
13 ! Value: GMT
13 ! GET Symbol: SYS$OA$MTI_TIME_OFFSET
13 ! Value: +00:00
13 ! GET Symbol: $$MAIL_LAST
13 ! Value: INBOX 012864
14 ! OA$FLO_OPEN_FORM: Opening form - DOCDB
14 ! in DISK$USER5:[ALLIN1.LIB_BRITISH]MEMRES.FLB;
28 ! [SCP/TRACE] mail read #x << aw.scp 0007
28 ! %OA-I-LOGFUN, Function: MAIL read #x
29 ! GET Symbol: #x
29 ! Value: INBOX 012864
29 ! %OA-I-LOGFUN, Function: LIST_DOCUMENT /DATA=OA$CURDOC @OA$CURDOC
29 ! %OA-I-LOGFUN, Function: FORM OA$LIST LIST/CAPTIVE/MORE=OA$LIST$CAB$OPTIONS/OVERLAY=LIST_Status/PRE_FUN="FORCE"/HARD=OA$_OA_LIST_HRD_LIST_DOC /DATA=OA$CURDOC @OA$CURDOC
30 ! OA$FRM_DISPATCH: Dispatching OA$LIST LIST/CAPTIVE/MORE=OA$LIST$CAB$OPTIONS/OVERLAY=LIST_Status/PRE_FUN="FORCE"/HARD=OA$_OA_LIST_HRD_LIST_DOC /DATA=OA$CURDOC @OA$CURDOC
30 !
30 ! ----------- CURRENT FORM INFORMATION ------------
30 ! %OA-I-LOGERROR, %SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=00000050, PC=00188114, PSL=03C00000
31 ! %OA-I-LOGERROR, %SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=00000050, PC=00188114, PSL=03C00000
31 ! %OA-I-LOGERROR, %SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=00000050, PC=00188114, PSL=03C00000
31 ! %OA-I-LOGERROR, %SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=00000050, PC=00188114, PSL=03C00000
31 ! %OA-I-LOGERROR, %SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=00000050, PC=00188114, PSL=03C00000
32 ! %OA-I-LOGERROR, %SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=00000050, PC=00188114, PSL=03C00000
32 ! %OA-I-LOGERROR, %SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=00000050, PC=00188114, PSL=03C00000
37 ! OA$FLO_ALL_NDISP: Undisplay all workspaces
37 ! %OA-I-LOGSTOP, Ending ALL-IN-1
Thanks
Martin
T.R | Title | User | Personal Name | Date | Lines |
---|
211.1 | MAIL Code ACCVIO - are you sure? | AIMTEC::WICKS_A | Vote Bill'n'Opus for a weirder USA | Wed Mar 11 1992 01:06 | 12 |
| Martin,
MAIL READ - a beautiful piece of code well apart from the Voice Mail
stuff and the metering and the ... (:==:)
Your example worked fine for me when I tried it (v2.4 and v3.0) but then I
have NEVER seen the MAIL code ACCVIO (I always kept my eyes shut)
Regards,
Andrew.D.Wicks
|
211.2 | There's always another way in ALL-IN-1... | HYTIDE::CREAMER | Keep a low profile | Wed Mar 11 1992 13:42 | 11 |
|
Martin,
You might emulating the MAIL READ by resetting the the status flag
to READ, decrementing the unread mail count, and then refiling the
message to the READ folder (assuming it starts out in the INBOX).
Tryin' to help,
Jack
|
211.3 | WPS-PLUS perhaps? | FAILTE::LAAHS | Two Cute Celts are better than one | Thu Mar 12 1992 11:42 | 6 |
| Could it be that you are attempting to read a WPS-PLUS message?
WPS-PLUS gets upset when used non-interatively.
Try it with an ASCII mail message.
Kevin
|
211.4 | Same probled with MAIL MAIL_DOCUMENT | JOCKEY::NUTKINSM | Martin Nutkins | Sat Mar 28 1992 23:43 | 23 |
| Well I didn't have any success with the MAIL READ in BATCH. It gave
the same error on both the customers development and live systems and
also on our ALL-IN-1 system in the office. I also tried both ASCII and
WPS-PLUS messages. Yet the Customer Support Centre could not replicate
the problem.
I was also experiencing a 'ACCESS VIOLATION' error with the the MAIL
MAIL_DOCUMENT command, but I managed to get around this using ATTACH
command.
I got the customers application working in the end, but there must be
something different on the customers and the office system that is
causing this error.
Yet another of life's unsolved mysteries !!!
Thanks for you help
Martin
|
211.5 | #x ignored? | WAYLND::HOWARD | Hail to the Redskins! | Mon Mar 30 1992 19:19 | 11 |
| 29 ! %OA-I-LOGFUN, Function: LIST_DOCUMENT /DATA=OA$CURDOC @OA$CURDOC
29 ! %OA-I-LOGFUN, Function: FORM OA$LIST LIST/CAPTIVE/MORE=OA$LIST$CAB$OPTIONS/OVERLAY=LIST_Status/PRE_FUN="FORCE"/HARD=OA$_OA_LIST_HRD_LIST_DOC /DATA=OA$CURDOC @
OA$CURDOC
30 ! OA$FRM_DISPATCH: Dispatching OA$LIST LIST/CAPTIVE/MORE=OA$LIST$CAB$OPTIONS/OVERLAY=LIST_Status/PRE_FUN="FORCE"/HARD=OA$_OA_LIST_HRD_LIST_DOC /DATA=OA$CURDOC @OA$CURDOC
I don't see #X getting used here at all. Have you tried making the
document current first? The symbol is parsed on the line above, but
that doesn't necessarily mean MAIL READ uses the value. You could use
MAIL PUSH to save the value.
Ben
|
211.6 | base code problem or customization dependent? | EEMELI::SALMINEN | Hannu Salminen, PTG -Finland | Wed Apr 22 1992 12:51 | 8 |
| Have you tried to change your batch procedure to start Uncustomized
ALL-IN-1 ($ALLIN1/NOINIT/NOCUSTOM/USER...) to restrict the problem
outside Digital supplied base code.
(Just a guess), regards
Hannu
|