[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

5086.0. "Translation problem for long symbols in init file" by MICROW::SEVIGNY (Island In The Sky) Tue May 18 1993 18:15

    
    We just installed the V1.3.0 and suddenly our test scripts aren't
    working correctly.  There seem to be two problems related to setting up
    symbols in an MCC init file.
    
    It appears to be related to the length of the symbol.  If the symbol is
    very long, when that symbol is referenced in the MCC command, it is
    truncated.  I looked in the release notes, and didn't see a reference
    to any restriction on the length.
    
    Also, if the symbol has quotes in it, and the terminating quotes don't
    end soon enough (I'm guessing 80 characters, but I'll verify), when the
    init file is read in, a syntax error occurs. 
    
    This worked correctly in the previous version that was installed.  Is
    there something that we neglected to do in the installation process, or
    are these newly introduced bugs?
    
    Marc
    
T.RTitleUserPersonal
Name
DateLines
5086.1need help ASAP!TPTEST::SEVIGNYIsland In The SkyWed May 19 1993 13:51138
    
    
    Below is some output which demonstrated the problem.  We need help with
    this ASAP, so if you know of someone that I can contact to determine
    how to correct this, it would be much appreciated.  Our MIA tests are
    failing.
    
    
From:	ROCK4::SANTOS       "Chuck Santos 227-3534" 19-MAY-1993 10:39:59.01
To:	JOHNG TONY REMPELAKIS CHIN SEVIGNY MCDERMOTT
CC:	SANTOS
Subj:	MCC 1.3.0 problem, set term/width=132

    
  Below are some test cases that isolates the problem discovered yesterday
  with the new MCC kit.

  As I see it, we have two problems.

   1. Symbols in the MCC_INIT.COM file are not properly translated/defined
      in when MCC utility is invoked. See the sample MCC_INIT.COM, invocation
      of MCC, and test case 1 & 2.

   2. It appears length of string or quotes around environment variable value 
      string is not the issue. The syntax problem appears to be related to 
      characters after the "]" in the directory structure. See test cases
      3 & 4

!  MCC_INIT.COM
!-------------------------------------------------------------------------------------------------------------------
define tpsysname "/.:/si_prod_vms_cd8p_kit_mrm/mrmprod8pptpm01"
define tpcon "mrmprod8pptpm01"
define by_owner PTPM01::REMPELAKIS
define by_user REMPELAKIS
define ts_exec_file twrk01:[si_prod_vms_cd8p_kit_mrm]mrm_task_svr_a.exe
define ts_desc_file twrk01:[si_prod_vms_cd8p_kit_mrm]mrm_task_grp_1_0.idf
define ps_exec_file twrk01:[si_prod_vms_cd8p_kit_mrm]mrm_proc_svr_a.exe
define ps_desc_file twrk01:[si_prod_vms_cd8p_kit_mrm]mrm_proc_grp_a_1_0.idf
define ps_ev_str ((name=app$database,value="TWRK01:[SI_PROD_VMS_CD8P_KIT_MRM.MRM_SI_TEST_DB]MRM_SI_TEST_DB")
define ps_env_var (name=WRITE_FILE,value="twrk01:[si_prod_vms_cd8p_kit_mrm]mrm_rdb_3.dat"))
define acl_string ((identifier=*,perm=(all)))
!-------------------------------------------------------------------------------------------------------------------


$! symbols PS_EV_STR and PS_ENV_VAR are not defined due to syntax error. See TEST CASE 2, the server is created using
$! the same syntax as defined in the MCC_INIT.COM
$!
$ mana/ent
DECmcc (V1.3.0)

%MCC-I-SYMDEF, Symbol defined.
%MCC-I-SYMDEF, Symbol defined.
%MCC-I-SYMDEF, Symbol defined.
%MCC-I-SYMDEF, Symbol defined.
%MCC-I-SYMDEF, Symbol defined.
%MCC-I-SYMDEF, Symbol defined.
%MCC-I-SYMDEF, Symbol defined.
%MCC-I-SYMDEF, Symbol defined.
%MCC-I-NOPARCMD, define ps_ev_str ((name=app$database,value="TWRK01:[SI_PROD_VM
                 ^
%MCC-I-SYNTAXERR, Syntax error -- unable to interpret remainder of line
%MCC-W-EOSEXPECTED, an end-of-string is expected, but found the following: )

%MCC-I-NOPARCMD, define ps_env_var (name=WRITE_FILE,value="twrk01:[si_prod_vms_
                 ^
%MCC-I-SYNTAXERR, Syntax error -- unable to interpret remainder of line
%MCC-W-EOSEXPECTED, an end-of-string is expected, but found the following: )

%MCC-I-SYMDEF, Symbol defined.

MCC>!!!!!!!!!!!!!!!! TEST CASE 1 !!!!!!!!!!!!!!
MCC>! no quotes around environment variable value string, result is syntax error, server not created
MCC>! Result is syntax error, server not created.
MCC>
MCC> cre tpsys tpsysname serv PROCESSING_SVR -
_MCC> exec file= ps_exec_file , -
_MCC> desc file= ps_desc_file , -
_MCC> env var=((name=WRITE_FILE,value=twrk01:[si_prod_vms_cd8p_kit_mrm]mrm_rdb_3.dat))
%MCC-I-NOPARCMD, ((name=WRITE_FILE,value=twrk01:[si_prod_vms_cd8p_kit_mrm]mrm_r
                 ^
%MCC-I-SYNTAXERR, Syntax error -- unable to interpret remainder of line
%MCC-E-SPLIT_CONSLIST, error in list of values

MCC>!!!!!!!!!!!!!!!! TEST CASE 2
MCC>! quotes around environment variable value string.
MCC>! Result is server created
MCC>
MCC> cre tpsys tpsysname serv PROCESSING_SVR -
_MCC> exec file= ps_exec_file , -
_MCC> desc file= ps_desc_file , -
_MCC> env var=((name=WRITE_FILE,value="twrk01:[si_prod_vms_cd8p_kit_mrm]mrm_rdb_3.dat"))

TPSYSTEM "/.:/si_prod_vms_cd8p_kit_mrm/mrmprod8pptpm01" SERVER processing_svr
AT 19-MAY-1993 08:54:08

Entity created successfully.
MCC> dele tpsys tpsysname serv PROCESSING_SVR

TPSYSTEM "/.:/si_prod_vms_cd8p_kit_mrm/mrmprod8pptpm01" SERVER processing_svr
AT 19-MAY-1993 08:56:32

Entity deleted successfully.
MCC>
MCC>!!!!!!!!!!!!!!!! TEST CASE 3
MCC>! no quotes around environment variable value string, and no characters after the "]".
MCC>! Result is server created
MCC>
MCC> cre tpsys tpsysname serv PROCESSING_SVR -
_MCC> exec file= ps_exec_file , -
_MCC> desc file= ps_desc_file , -
_MCC> env var=((name=WRITE_FILE,value=twrk01:[si_prod_vms_cd8p_kit_mrmxxxxxxxxxxxxxxxxxxxxx]))

TPSYSTEM "/.:/si_prod_vms_cd8p_kit_mrm/mrmprod8pptpm01" SERVER processing_svr
AT 19-MAY-1993 08:57:57

Entity created successfully.
MCC>  dele tpsys tpsysname serv PROCESSING_SVR

TPSYSTEM "/.:/si_prod_vms_cd8p_kit_mrm/mrmprod8pptpm01" SERVER processing_svr
AT 19-MAY-1993 08:59:15

Entity deleted successfully.
MCC>
MCC>!!!!!!!!!!!!!!!! TEST CASE 4
MCC>! no quotes around environment variable value string, and 1 character after the "]".
MCC>! Result is syntax error, server not created
MCC>
MCC>
MCC> cre tpsys tpsysname serv PROCESSING_SVR -
_MCC> exec file= ps_exec_file , -
_MCC> desc file= ps_desc_file , -
_MCC> env var=((name=WRITE_FILE,value=twrk01:[si_prod_vms_cd8p_kit_mrm]x))
%MCC-I-NOPARCMD, ((name=WRITE_FILE,value=twrk01:[si_prod_vms_cd8p_kit_mrm]x))
                 ^
%MCC-I-SYNTAXERR, Syntax error -- unable to interpret remainder of line
%MCC-E-SPLIT_CONSLIST, error in list of values

MCC>
5086.3TPTEST::SEVIGNYIsland In The SkyWed May 19 1993 15:167
    
    This has nothing to do with the problem found with the new version of
    MCC.
    
    What used to work no longer works.  You are referring to VMS logical
    definitions.  The problem is with MCC symbol/logical definitions.
                   
5086.4Problem exists in earlier versions?MOLAR::MOLAR::CARRMon Jun 07 1993 11:4143
    
	I've been able to reproduce this problem using both V1.2.0 and
V1.2.3.  I'm confused with the claim that this worked previous to V1.3.0.
As you can see below, I've run this on both V1.2.0 on VMS v5.4-3 and 
    V1.2.3 on VMS 5.5-1.  What versions of VMS and DECmcc were you running on 
    when this worked?

Dan

=============================================================================

!!! DECmcc V1.2.0

VMS V5.4-3 on node QUANTZ of the TOOK cluster, Monday, 7-JUN-1993 10:21 EST

Quantz> man/ent
DECmcc (V1.2.0)

MCC> def tst (name=WRITE_FILE,value="twrk01:[si_prod_vms_cd8p_kit_mrm]mrm_rdb_3.
dat"))
%MCC-I-NOPARCMD, def tst (name=WRITE_FILE,value="twrk01:[si_prod_vms_cd8p_kit_m
                 ^
%MCC-I-SYNTAXERR, Syntax error -- unable to interpret remainder of line
an end-of-string is expected, but found the following: )

MCC>

!!! DECmcc V1.2.3

VAX/VMS V5.5-1  on node MOLAR   7-JUN-1993 10:21:11.42   Uptime  11 22:53:42

Molar> man/ent
DECmcc (V1.2.3)

MCC> def tst (name=WRITE_FILE,value="twrk01:[si_prod_vms_cd8p_kit_mrm]mrm_rdb_3.
dat"))
%MCC-I-NOPARCMD, def tst (name=WRITE_FILE,value="twrk01:[si_prod_vms_cd8p_kit_m
                 ^
%MCC-I-SYNTAXERR, Syntax error -- unable to interpret remainder of line
an end-of-string is expected, but found the following: )

MCC> 

5086.5MICROW::SEVIGNYIsland In The SkyMon Jun 07 1993 15:1910
    
    Thanks for the effort, Dan.
    
    It may very wel be related to the versions of VMS and MCC, but we began
    experiencing the problem when we upgraded MCC only.  The version of VMS
    we are/were running is a release of J-VMS called Godzilla.  
    
    I'll have the system manager or the test engineer with better info
    reply to give more details.  
    
5086.6a little more lightOLCROW::SANTOSplay ballFri Jun 18 1993 18:2561
  Hello Dan,

     I was the author of the mail message posted in .1

     As I read it now I can see how it was confusing. We are not claiming
     using the quotes worked on MCC version 1.2.3 and doesn't work on 1.3.
     Our orginal MCC_INIT.COM file does not use quotes. I experimented
     using the quotes to see if that would solve the problem and ran into
     the same problem you have encountered.

     What we are claiming is the following command worked on V1.2.3 and does
     not work on V1.3.

--------------------------------------------------------------------------------
MCC> cre tpsys tpsysname serv PROCESSING_SVR -
_MCC> exec file= ps_exec_file , -
_MCC> desc file= ps_desc_file , -
_MCC> env var=((name=WRITE_FILE,value=twrk01:[si_prod_vms_cd8p_kit_mrm]foo.dat))
%MCC-I-NOPARCMD, ((name=WRITE_FILE,value=twrk01:[si_prod_vms_cd8p_kit_mrm]foo.dat))
                 ^
%MCC-I-SYNTAXERR, Syntax error -- unable to interpret remainder of line
%MCC-E-SPLIT_CONSLIST, error in list of values
--------------------------------------------------------------------------------


     At first I thought it might be a char string length issue. So I 
     experimented with the following commands:
--------------------------------------------------------------------------------
MCC> cre tpsys tpsysname serv PROCESSING_SVR -
_MCC> exec file= ps_exec_file , -
_MCC> desc file= ps_desc_file , -
_MCC> env var=((name=WRITE_FILE,value=twrk01:[si_prod_vms_cd8p_kit_mrm]x))
%MCC-I-NOPARCMD, ((name=WRITE_FILE,value=twrk01:[si_prod_vms_cd8p_kit_mrm]x))
                 ^
%MCC-I-SYNTAXERR, Syntax error -- unable to interpret remainder of line
%MCC-E-SPLIT_CONSLIST, error in list of values
MCC>
MCC>
MCC>
MCC> cre tpsys tpsysname serv PROCESSING_SVR -
_MCC> exec file= ps_exec_file , -
_MCC> desc file= ps_desc_file , -
_MCC> env var=((name=WRITE_FILE,value=twrk01:[si_prod_vms_cd8p_kit_mrmxxxxxxxxxxxxxxxxxxxxx]))

TPSYSTEM "/.:/si_prod_vms_cd8p_kit_mrm/mrmprod8pptpm01" SERVER processing_svr
AT 19-MAY-1993 08:57:57

Entity created successfully.
--------------------------------------------------------------------------------

     This proved to me I was not exceeding any char length restrictions. It
     also showed me that the syntax error is only encountered when I enter 
     characters after the end bracked ("]").

         example  value=twrk01:[si_prod_vms_cd8p_kit_mrm]x

     Sorry about the confusion, hopefully the problem is better defined
     now.

Thanks
Chuck