|
No at this point it doesn't prompt. To get it to prompt in forms
mode will be a bit of work. To help in this area you will find that
with your next upgrade forms mode will return a more explicit message
stating which required argument is missing.
An example would be:
%MCC-W-ARGMISSING, The required argument ASSOCIATION is missing
We hope that this will help some. For now we believe (version 1
and 1.1) that the use of the context sensitive help from forms mode,
and the enhanced errors (supplying the name of the missing argument)
should fill the hole left by the lack of prompting.
jill
|
| Jill,
However, I consider the following still inconsistent given what you said in .1:
We are still in the Forms mode and the two arguments for register are required:
if only one argument is supplied ,
MCC>register server .server.test node =byblos
I get < %MCC-W-ARGMISSING, The argument is missing > as stated in the base note.
Now,
MCC> register server .server.test
I get
server TPEDNS_NS:.server.test
AT 20-SEP-1990 17:47:27
The requested operation cannot be completed
MCC Service Error = The requested operation cannot be
completed
which means the FCL goes ahead without checking the dictionary, calls the
registration FM, which calls my AM, which in turn rejects it.
Shouldn't the FCL give this same message,
< %MCC-W-ARGMISSING, The argument is missing >
Thnks,
Phil
|
| Hi,
Thanks for reporting your problem.
I can't reproduce what you're reporting, but then again, I'm not running the
same version of MCC as you, and I don't have whatever AM you're using that
supports the server entity.
What version of MCC are you running?
How many required arguments does the server entity's register directive have?
Could you post your .MSL file?
Here is a log of a few attempts at register of a STATION entity from within
FORMS mode. The directive has two required arguments, ADDRESS and FUNCTIONS
SUPPORTED. This is run on the latest baselevel of MCC (post IFT of V1.1):
register STATION ditmars
%MCC-I-REQARG, ADDRESS is a required argument
%MCC-W-ARGMISSING, argument is missing
register STATION ditmars Address = aa-00-04-00-fb-13
%MCC-I-REQARG, FUNCTIONS SUPPORTED is a required argument
%MCC-W-ARGMISSING, argument is missing
register STATION ditmars Functions Supported = ENETV2_Only
%MCC-I-REQARG, ADDRESS is a required argument
%MCC-W-ARGMISSING, argument is missing
|
|
There was a bug, as reported by .2, where we attempted to make
the call even if the required arguments were not present. This was
due to the parser returning the wrong (unexpected) error return
for the missing arguments.
This has been fixed in the final v1.0 build (as Pete's test show
in .3).
Thanks for the input.
|