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

Conference csc32::consolemanager

Title:POLYCENTER Console Manager
Notice:Kits, Scans, Docs on CSC32:: as PCM$KITS:,PCM$DOCS:, PCM$SCANS:
Moderator:CSC32::BUTTERWORTH
Created:Thu Aug 06 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1541
Total number of notes:6564

1126.0. "Problem with "RATE" command in DIALOG script - V1.6-110" by 29067::D_DONOVAN (SummaNulla(The High Point of Nothing)) Thu Dec 14 1995 17:02

Configuration:

        OpenVMS V6.1
        PCM V1.6-110 (ECO1)

Problem:

        Customer has been trying to get his console dialog script file
	working but is having problems with the SEND commands.  The problem 
	seems to be due to the fact that the RATE command for timing between 
	issue of the script commands is not being honored.


Discussion:

        I've included the customer's dialog script file for completness
        but the testing that we did here at the CSC/CS seems to prove his
        point - "No matter want value you enter for RATE - it sends the
        commands at the rate it reads them."

        We set up our own dialog script and found that the SEND rate is
        not predictable, meaning sometimes the first command will fire after
        the specified RATE time, other times not.  Subsequent SEND commands
        usually get sent one right after the other (probably as they are
        read from the script file).


Questions:

        Any "hints or kinks" that can be used to provide a workaround?
        We tried:

          o  Putting the number of seconds in quotes (the code
             specifically checks for quotes and strips them if found).

          o  Putting multiple numbers on the RATE command line (eg.
             "RATE 10 10 10").

          o  Putting multiple RATE command lines within the script file
             (one before each SEND).

        Is there or should there be an IPMT on this issue?

Thanks,

Dennis

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---------------------------------------------------------------------------
!
!       DIALOG Procedure to interrogate device configuration of a
!               HSJ controller.
!
!
!  wait 10 seconds between SEND commands
!  wait 100 milliseconds between characters
!
rate 10
speed 100
!
!  force other users into read-only state
!
unlock
!
!  send a carriage return and wait up to 10 seconds for the prompt
!
send ""
wait 10 "HSJ"
!
!  issue all commands to get device configuration
!
send "show this"
send "show disks"
send "show storage"
send "show units"
!
---------------------------------------------------------------------------
T.RTitleUserPersonal
Name
DateLines
1126.1we have solution52621::MURODSun Dec 17 1995 05:0014
	Hi, Dennis.
	
   We have the solution .
 
   For OpenVMS V6.1 for ALPHA
        file resides on PCMSVR::$1$DKB500:[ECO.CFS_33122]ALPH61.BCK.

   For OpenVMS V6.1 for VAX
        file resides on PCMSVR::$1$DKB500:[ECO.CFS_33122]VAX61.BCK.

	Note: pay attention all save sets include the README.TXT file.


		Regards, Murod.