[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

4530.0. "SCRIPT AM show status VIA FCL ??" by ZTOIS1::VISTA (Renato VISTA, SIS Strasbourg, France) Thu Feb 11 1993 13:27

    Hi,
    
    I'm testing the SCRIPT AM T1.3.1.
    
    After defining via IMPM the following SYSGEN instance...
    
    MCC>show SCRIPT LOCAL_NS:.script.miscellaneous sysgen stras5 all char
    
    Script LOCAL_NS:.script.miscellaneous sysgen stras5
    AT 11-FEB-1993 19:23:07 Characteristics
    
    Examination of attributes show:
                                    Command = "@mcc_scripts:mcc_sysgen.com"
    
    
    ... I have correct values when doing "show status".
    
    
    BUT, when I test the following command via FCL interface, I get the
    following message :
    
    show SCRIPT LOCAL_NS:.script.miscellaneous sysgen stras5 all status
    
    Script LOCAL_NS:.script.miscellaneous sysgen stras5
    AT 11-FEB-1993 19:24:55 Status
    
    The script has produced no output.
    
    
    
    Is there any possibility to get the returned value via FCL interface ? 
    
    Thank you for your replies.
    Renato
    
T.RTitleUserPersonal
Name
DateLines
4530.1The Script AM works from both the FCL and Iconic Map interfacesMOLAR::ROBERTSKeith Roberts - Network Management ApplicationsFri Feb 12 1993 08:0727
  Renato,

  Let me recap ...

    o You create a Sysgen Script via the Iconic Map
    o Show All Char and Show All Status (from the Map) work as you expect
    o Trying Show All Status from the FCL produces no output

  The Script AM most certainly should work from both the FCL and
  Iconic Map interfaces.  There is a know problem with the Script
  'Collection Name' ... it is a DNS Fullname and is case-sensitive.
  But according to your note, the case looks identicial and should
  be working.  A few things to try:

    o Try Show All Char from the FCL?  Do you see the correct 'command'?
    o Try removing the 'LOCAL_NS:.' from the FCL commands.  I know
      it shouldn't make any difference, but I'm 'grasping at straws' 8)
    o Try creating the same Script Instance via the FCL ...

      create script .script.miscelaneous sysgen viafcl -
        command = "@mcc_scripts:mcc_sysgen"

      show script .script.miscelaneous sysgen viafcl all char

      show script .script.miscelaneous sysgen viafcl all char

  /keith
4530.2Pb still existing after more tests...ZTOIS1::VISTARenato VISTA, SIS Strasbourg, FranceFri Feb 12 1993 12:3779
    
    Keith,
    
    Hereunder the traces of my FCL test session :
    
    
    WITHOUT LOCAL_NS: prefix...
    
    show script .script.miscellaneous sysgen stras5 all char
    
    
    
    WITH LOCAL_NS: prefix...
    
    Script LOCAL_NS:.script.miscellaneous sysgen stras5
    AT 12-FEB-1993 18:27:52 Characteristics
    
    Examination of attributes show:
                                    Command = "@mcc_scripts:mcc_sysgen.com"
    
    
    WITH LOCAL_NS:. prefix...
    
    show script LOCAL_NS:.script.miscellaneous sysgen stras5 all status
    
    Script LOCAL_NS:.script.miscellaneous sysgen stras5
    AT 12-FEB-1993 18:28:27 Status
    
    The script has produced no output.
    
    
    
    WITHOUT LOCAL_NS:. prefix...
    
    show script .script.miscellaneous sysgen stras5 all status
    
    Script LOCAL_NS:.script.miscellaneous sysgen stras5
    AT 12-FEB-1993 18:28:32 Status
    
    The script has produced no output.
    
    
    create script .script.miscellaneous sysgen viafcl
    Command="@mcc_scripts:mcc_sysgen.com"
    
    Script LOCAL_NS:.script.miscellaneous sysgen viafcl
    AT 12-FEB-1993 18:29:22
    
    Script created successfully.
    
    
    WITHOUT LOCAL_NS:. prefix...
    
    show script .script.miscellaneous sysgen viafcl all char
    
    Script LOCAL_NS:.script.miscellaneous sysgen viafcl
    AT 12-FEB-1993 18:29:46 Characteristics
    
    Examination of attributes show:
                                    Command = "@mcc_scripts:mcc_sysgen.com"
    
    
    WITH LOCAL_NS:. prefix...
    
    show script .script.miscellaneous sysgen viafcl all status
    
    Script LOCAL_NS:.script.miscellaneous sysgen viafcl
    AT 12-FEB-1993 18:29:50 Status
    
    The script has produced no output.
    
    
    
    Any other suggestions ?
    
    Regards,
    Renato
    
    
4530.3It works for me .. so ...MOLAR::ROBERTSKeith Roberts - Network Management ApplicationsFri Feb 12 1993 13:3454
  Renato,

  It worked for me .. but isn't that always they way 8|
  I tested on both Iconic Map and FCL .. the FCL output is
  attached below.

  Is the script Ok ?  Did you check to see what was in:

	mcc_scripts:mcc_sysgen.com       ??

  I can't figure this one out 8(  I probably don't have the
  same version of MCC installed which you have either.  Have you
  tried another scripts?  Is it the same thing?

  /keith

--------------------------------------------------------------------------------

MCC> create script .script.miscellaneous sysgen viafcl -
_MCC> Command = "@mcc_scripts:mcc_sysgen.com"

Script LOCAL_NS:.script.miscellaneous sysgen viafcl
AT 12-FEB-1993 13:22:47

Script created successfully.

--------------------------------------------------------------------------------

MCC> show script LOCAL_NS:.script.miscellaneous sysgen viafcl all char

Script LOCAL_NS:.script.miscellaneous sysgen viafcl
AT 12-FEB-1993 13:23:03 Characteristics

Examination of attributes show:
                                Command = "@mcc_scripts:mcc_sysgen.com"

--------------------------------------------------------------------------------

MCC> show script LOCAL_NS:.script.miscellaneous sysgen viafcl all status

Script LOCAL_NS:.script.miscellaneous sysgen MOLAR
AT 12-FEB-1993 13:23:08 Status

Examination of attributes show:
                       Command Executed = "@mcc_scripts:mcc_sysgen.com"
                             Cluster Id = 1005
                          Hardware Name = "VAX 4000-300"
                          MaxProcessCnt = 160
                              GblPagFil = 12200
                               GblPages = 103200
                            GblSections = 830
                               NPageDyn = 2475008
                               NPageVir = 10250752
                                PageDyn = 1464320
4530.4Difference on FCL USE MODE LINE/FORMSSTKHLM::BERGGRENNils Berggren EIS/Project dpmt, Sweden DTN 876-8287Tue Mar 16 1993 07:06103
I'm experiencing the same problem.
It works OK from FCL command-line but in FORMS-mode I get
	"The script has produced no output."

Below you'll find a log from a MCC-session.

      regards,
    Nils

P.S.
   I'm talking DECmcc T1.3 / VMS 5.5.2 / VAXstation 4000-60

- - - - - - - - - - - - - - - - - - - - - - - - - - - - 
I start using FCL in LINE MODE and later I do a 'use mode form'
as you'll see below.



sho mcc 0 all char
!
!MCC 0 
!AT 16-MAR-1993 12:57:31 Characteristics
!
!Examination of Attributes Shows:
!                      Component Version = T1.3.0
!               Component Identification = "DECmcc"
!                    Namespace Selection = "DECdns"
!       Default Namespace Root Directory = ""
!
!
sho mcc 0 script all char
!
!MCC 0 SCRIPT_AM 
!AT 16-MAR-1993 12:58:04 Characteristics
!
!Examination of attributes shows:
!               Component Identification = "DECmcc SCRIPT AM"
!                      Component Version = T1.3.1
!                        Default Timeout = 0 00:01:00.00
!
show script my_scripts
!Using default ALL IDENTIFIERS
!
!Script MALEN_NS:.my_scripts 
!AT 16-MAR-1993 12:58:17 Identifiers
!
!Examination of attributes shows
!                                   Name = MALEN_NS:.my_scripts
!
create script my_scripts sysgen fcl_test command = @mcc_scripts:mcc_sysgen
!
!Script MALEN_NS:.my_scripts sysgen fcl_test 
!AT 16-MAR-1993 12:58:55 
!
!Script created successfully.
!
show script my_scripts sysgen fcl_test all char
!
!Script MALEN_NS:.my_scripts sysgen fcl_test 
!AT 16-MAR-1993 12:59:05 Characteristics
!
!Examination of attributes show:
!                                Command = "@mcc_scripts:mcc_sysgen"
!
show script my_scripts sysgen fcl_test all status
!
!Script MALEN_NS:.my_scripts sysgen MALEN 
!AT 16-MAR-1993 12:59:12 Status
!
!Examination of attributes show:
!                       Command Executed = "@mcc_scripts:mcc_sysgen"
!                             Cluster Id = 10003
!                          Hardware Name = "VAXstation 4000-60"
!                          MaxProcessCnt = 100
!                              GblPagFil = 12200
!                               GblPages = 65700
!                            GblSections = 480
!                               NPageDyn = 999936
!                               NPageVir = 3999744
!                                PageDyn = 1000960
!
use mode form
!
show script my_scripts sysgen fcl_test all char
!
!
!Script MALEN_NS:.my_scripts sysgen fcl_test 
!AT 16-MAR-1993 13:00:13 Characteristics
!
!Examination of attributes show:
!                                Command = "@mcc_scripts:mcc_sysgen"
!
show script my_scripts sysgen fcl_test all status
!
!
!Script MALEN_NS:.my_scripts sysgen fcl_test 
!AT 16-MAR-1993 13:00:27 Status
!
!The script has produced no output.
!
exit
!
!
4530.5Script is not run in Forms modeSTKHLM::BERGGRENNils Berggren EIS/Project dpmt, Sweden DTN 876-8287Wed Mar 17 1993 09:1051
more input on this topic...

I had to do some testing around this.

I enabled AUDIT to monitor ALL LOGIN/LOGOUT events on the system
and found out that if I do:
	
MCC> sho  script foo command bar  all status

Script MALEN_NS:.foo COMMAND An entity...
AT 17-MAR-1993 15:03:18 Status

Examination of attributes show:
                       Command Executed = "@USR:[BERGGREN]TEST"
                                   arg1 = "DOWN"
MCC>

The script runs in a subprocess (parent=myself running DECmcc), 
i.e. I get an AUDIT-event on a subprocess login.

The script writes a log-file with a time-stamp and the PID of the 
process running it.  Checking the log-file and the audit-event
the PIDs match (as expected).


Now to FORMS-mode:

Doing the same thing:

	Verb: show
	Entity: script foo command bar
	Arguments: all status
	Qualifiers:
 
                                DECmcc Output

	show script foo command bar all status

	Script MALEN_NS:.foo COMMAND bar
	AT 17-MAR-1993 15:02:00 Status

	The script has produced no output.


In this case I get no subprocess login and nothing in the logfile.
                                  

     hope this helps...

   regards,
         Nils
4530.6Too strangeMOLAR::ROBERTSKeith Roberts - Network Management ApplicationsWed Mar 17 1993 15:2020
  Nils,

  I tried executing a script from the FCL Line Mode .. Success !

  Then from the FCL Forms Mode .. No Output Produced .. 8(

  I tried stepping through the Script AM in the debugger and had
  the 'No Output' problem once.  I then stepped deeper into the 
  code, and it worked!!

  I reran the test without the debugger - and both Line and Forms mode
  worked fine .. too strange 

  The only thing I can think of is there is some system resource that 
  the Script AM needs, and *SOMETIMES* when using the FCL Forms mode
  it can't get enough.

  I'll look into this some more.

  /keith