[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

3466.0. "Bug or feature or else?" by MSBCS::HSU () Thu Jul 30 1992 10:15

Hi!
Why same command works under MCC command line interface but doesn't work 
under MCC Window? If I use the "SHOW DBX A ALL CHAR" from MCC command line and 
it works fine. But when I use MCC DECWindow interface, it doesn't work. When I 
traced into the source code, I found out MCC couldn't get the input arguments 
correctly in the DECWindow environment but had no problem of getting them under
the MCC command line environment. So what is wrong with it?     


	stat = mcc_aes_get(&p_callargs->p_in_entity, 
			   &MCC_K_NULL_PTR, 
			   &class_code, 
			   &identifier, 
			   &MCC_K_AES_NOT_WILD);


Thanks,
-Hamilton DTN:293-5124
T.RTitleUserPersonal
Name
DateLines
3466.1need more infoBARREL::LEMMONFri Jul 31 1992 08:246
    I don't understand the question.   What do you mean when you say
    it doesn't work?   What error messages, if any, were being displayed?
    Is the DBX entity your access module?    What are the characteristic
    attributes data types?  
    
    /Jim
3466.2More info...MSBCS::HSUFri Jul 31 1992 17:3517
Hi!
 In the command "MCC SHOW DBX sql$database all char", the DBX is an entity. The
sql$database is an instance also a system logical. From the command line MCC
has no probelm getting sql$database and putting ity into mcc_a_pointer.
However, when I tried to use MCC Window and use command
"show->characteristics", I got an error message. The error message has
no meaning to MCC but me. But in the debuuger, I noticed "sql$database" has not
been retrieved into mcc_a_pointer. Actually, mcc_a_pointer is a NULL pointer 
instead. So what can be wrong here? Why it works from CLI but doesn't work from
DECWindow? Why it is a NULL pointer?

The sql$database is a logical and it looks like this "/TYPE=VIDA2/NODE=DISDEM
/DATABASE=RDBDB1/USER=XXXX/PASSWORD=YYYY". So the charas. of it are TYPE,
NODE...

Thanks,
-Hamilton