[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

542.0. "MAIL EXPAND_DIST_LIST gives wrong OA$STATUS" by DECAUX::SAT27::KOELBL (STYRIA is my country) Wed Apr 22 1992 09:34

Running a script, which is using distribution lists, there occurs every time
a wrong status. The script looks following:

Szenario:

	ALL-IN-1 V2.4
	PATCH K603
	VMS V5.4-2

It was tested on two different ALL-IN-1 Systems with same environment (maybe
except VMS-Version). The error was the same. On an unpatched System we got
an OA$STATUS = 1.


xxxx.scp

	.TRACE
	MAIL CREATE/OPEN/NOSEND/TEMPLATE=...
	.IF OA$STATUS NE 1 THEN .GOTO ERROR
	MAIL TO DIST_LIST:
	.IF OA$STATUS NE 1 THEN .GOTO ERROR

-->	MAIL EXPAND_DIST_LIST
	.IF OA$STATUS NE 1 THEN .GOTO ERROR

	MAIL SUBJECT "SUBJECT"
	.IF OA$STATUS NE 1 THEN .GOTO ERROR
	MAIL CLOSE_MESSAGE
	MAIL SEND
	MAIL POP_CURMES
	EXIT

	.LABEL ERROR

	GET OA$DCL = 'DEFINE/NOLOG/JOB ERROR = ""E""'"
	EXIT


Running that you get following.


SCP/TRACE] MAIL CREATE/OPEN/NOSEND/TEMPLATE=DSKH:[PURKER_T.OA.TO_EXPORT]OUQC804
W.TOM << mre$$d_mre:MRE$OUQC804W 0002
[SCP/TRACE] .IF OA$STATUS NE 1 THEN .GOTO ERROR << mre$$d_mre:MRE$OUQC804W 0003
[SCP/TRACE]  << mre$$d_mre:MRE$OUQC804W 0004
[SCP/TRACE] MAIL TO TOM: << mre$$d_mre:MRE$OUQC804W 0005
[SCP/TRACE] .IF OA$STATUS NE 1 THEN .GOTO ERROR << mre$$d_mre:MRE$OUQC804W 0006
[SCP/TRACE]  << mre$$d_mre:MRE$OUQC804W 0007
[SCP/TRACE] MAIL EXPAND_DIST_LIST << mre$$d_mre:MRE$OUQC804W 0008
[SCP/TRACE] .IF OA$STATUS NE 1 THEN .GOTO ERROR << mre$$d_mre:MRE$OUQC804W 0009
[SCP/TRACE] .GOTO ERROR << mre$$d_mre:MRE$OUQC804W 0009
[SCP/TRACE]  << mre$$d_mre:MRE$OUQC804W 0025
[SCP/TRACE] GET OA$DCL = 'DEFINE/NOLOG/JOB MRE$$K_ERROR "E"' << mre$$d_mre:MRE$O
UQC804W 0026
[SCP/TRACE] EXIT << mre$$d_mre:MRE$OUQC804W 0027


anybody seen that ?

hans-joerg
T.RTitleUserPersonal
Name
DateLines
542.1Works in v3.0 alsoAIMTEC::WICKS_AMore Ship dates than actual ShipsThu Apr 23 1992 03:2110
    Hans,
    
    There's not enough of a trace for me to see why it failed and when I
    tested it on a system running ALL-IN-1 v3.0 it worked.
    
    What happens if you type the lines in interactively preceded by an <
    
    regards,
    
    Andrew.D.Wicks
542.2Somtimes yes, somtimes noDECAUX::SAT27::KOELBLSTYRIA is my countryWed Apr 29 1992 11:5013
When I'm typing interactively the lines with an <, then it
somtimes works, somtimes not. But I can't determine when it
gives the right status.

In the meantime I got an information that the problem only occurs
when you're having installed Patch K603. The workaround therefor
has been not to use an error trapping after the command 
MAIL EXPAND_DIST_LIST.
It's not a clean solution, but it works for the moment.

regards,

hans-joerg