Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

MMS file aborting with CLI status %X10000000

SOLVED
Go to solution
ed y
Occasional Advisor

MMS file aborting with CLI status %X10000000

I have an MMS file for testing that consists of only one line:

@ java -version

This, of course, runs fine when run at the command prompt. In the MMS file, though, the task complets, but displays the following error:

%MMS-F-ABORT, For target TESTPROJ, CLI returned abort status: %X10000000

Any ideas as to why this might be happening? Thanks in advance for any help you can give me.
7 REPLIES
Ian Miller.
Honored Contributor

Re: MMS file aborting with CLI status %X10000000

%X10000000 is a status of 0 with the flag set to tell EXIT not to output a message.
Check what status java-version returns.
____________________
Purely Personal Opinion
ed y
Occasional Advisor

Re: MMS file aborting with CLI status %X10000000

Here is what $status is set to after running that line:

%X00010001
Ian Miller.
Honored Contributor

Re: MMS file aborting with CLI status %X10000000

Is there a space or tab in front of the @java-version in your mms file. I think action lines have to start with a tab
____________________
Purely Personal Opinion
ed y
Occasional Advisor

Re: MMS file aborting with CLI status %X10000000

Tried it - same error message. For what it's worth, this error quits my MMS file prematurely (unless I run it with /ignore, which I've been doing). Also, with no "- version" on the line, it runs fine. It's only when I supply any arguments to the java command that it produces the error.
Steven Schweda
Honored Contributor
Solution

Re: MMS file aborting with CLI status %X10000000

Around here:

alp $ java -version
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition
Fast VM (build 1.4.2-4.p2, build J2SDK.v.1.4.2:05/09/2005-13:09, native threads,
jit_142)
alp $ write sys$output $status
%X10000000

So, it appears that when Java actually does
something (beyond offering usage info), it
returns a UNIX-like status value (more or
less, where zero = good).

Adding a "-" (Ignore) to the action line may
be the easy way out. I've never used it, but
HELP MMS Description_File User_Defined_Severity
looks interesting.
ed y
Occasional Advisor

Re: MMS file aborting with CLI status %X10000000

Thanks, that's just what I was looking for. I'll look into that file you mentioned as well, but for now I'll just ignore the error.

Thanks again to both of you for your help.
ed y
Occasional Advisor

Re: MMS file aborting with CLI status %X10000000

Solution described in thread.