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

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

1530.0. "PROB: Is this an FCL bug ?" by BYBLOS::TAMER () Thu Sep 19 1991 17:27

V1.1 on VMS

NOTE: MSL listing of the CONNECT diretive appears at the end.

I have a directive with three arguments. I intentionally skip the comma after
the first argument. The FCL appears to have done some wierd truncation on the
first argument and skiped over the second argument, as shown below:


MCC> CONNECT QMS_CD byblos SERVER bl3_server repos = .repository.bl3_test -
_MCC> MaxSize Log Buffer= 2000,  MaxSize Repository Cache = 1000


*****************************************************
*     FCL PM Arguments before call_function:        *
*****************************************************

VERB code:      18
PARTITION code: 10
AES dump of ENTITY IN:

depth=2 class code= 8063 instance = �class code= 8064 instance =
bl3_server

ILV dump of IN_P:

[  0 ] (
    [  11 ]     aa 00 04 00 09 27 00 d3 9f 59 21 ba 93 00 0e 00 01 0a 72 65
    70 6f 73 69 74 6f 72 79 00 00
    [  8029 ]     03 e8
    )
ILV dump of IN_Q: in_q is NULL
TIME SPEC is: 0, NOW






MSL

        DIRECTIVE Connect = 18 :
           DIRECTIVE-TYPE = ACTION,
           DISPLAY        = TRUE,
           SYMBOL         = DIR_CONNECT,
           CATEGORIES     = (CONFIGURATION),

           REQUEST

                (* corresponds to QMA_C_REPOSITORY *)
                ARGUMENT Repository = 11 : FullName
                   ECHO    = TRUE,
                   DISPLAY = TRUE,
                   REQUIRED= TRUE,
                   DEFAULT = NO DEFAULT,
                   SYMBOL  = ARG_SERVER_CON_REPOS
                END ARGUMENT Repository ;

                (* corresponds to QMS_C_LOG_BUFFER_SIZE *)
                ARGUMENT MaxSize Log Buffer = 8025 : Unsigned32
                   ECHO         = TRUE,
                   DISPLAY      = TRUE,
                   REQUIRED     = FALSE,
                   UNITS        = Pages,
                   DEFAULT      = 2000,
                   SYMBOL       = ARG_QMS_REPOS_MAX_LOGBUF
                END ARGUMENT MaxSize Log Buffer ;

                (* corresponds to QMS_C_REP_CACHE_SIZE *)
                ARGUMENT MaxSize Repository Cache = 8029 : Unsigned32
                   ECHO         = TRUE,
                   DISPLAY      = TRUE,
                   REQUIRED     = FALSE,
                   UNITS        = Pages,
                   DEFAULT      = 1000,
                   SYMBOL       = ARG_QMS_REPOS_MAX_CACHE
                END ARGUMENT MaxSize Repository Cache ;

           END REQUEST ;

   
T.RTitleUserPersonal
Name
DateLines
1530.1any reason for skipping comma?TOOK::HAOFri Sep 20 1991 10:3413
    You MUST separate your arguments by commas.  The reason is that there
    are certain datatypes which accept blank spaces as valid characters. 
    Therefore, the parser will keep taking in tokens until it sees a comma
    or the end of the command.  
    
    In your particular case, your first argument is a fullname, so it looks
    like the DNS conversion routine that we use may be truncating the value
    passed in.  Either that, or the FCL is truncating it before pasing to
    the DNS conversion routine.  Jill will be able to give you a better
    idea.  Right Jill? :-)
    
    Christine
    
1530.2just forgot the comma but it looks like a bugBYBLOS::TAMERFri Sep 20 1991 12:226
Hi Christine,

No reason for skipping the comma. I only forgot the comma in the FCL script and
my AM and the application got dispatched wrong info.

Phil