Unknown mode ‘shutdown’ in tps_msh_fix

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Unknown mode ‘shutdown’ in tps_msh_fix

  • Creator
    Topic
  • #48102
    Vidya Baskaran
    Participant

    I am getting this error

    “Unknown mode ‘shutdown’ in tps_msh_fix”

    when running this script that formats the MSH 3 and 4 for the receiving system. But the script does not have a shutdown mode in it, so why the tcl error? I did not get this error while running the script thru the tester.  ðŸ˜•  Any ideas/ thoughts on how to fix it??

    We are running QDX 5.2 on AIX 5.1

    Vidya Baskaran

    Sr. Interface Analyst

    CNMC Washington DC

Viewing 3 reply threads
  • Author
    Replies
    • #57639
      Rentian Huang
      Participant

      I guess you need this condition inside the   switch -exact — $mode {….

      shutdown {

         # Doing some clean-up work

      }

    • #57640
      garry r fisher
      Participant

      Hi,

      I think is correct. In the testing tool you are only testing in ‘run’ mode unless you flag the initial start box which allows you to test in ‘start’ mode as well.

      This means you can’t test timer or shutdown modes in the test tool.

      Regards

      Garry

    • #57641
      Charlie Bursell
      Participant

      A simple method is to just remove the default path from the switch.  If you have default you must have shutdown and vice versa.  If you don’t have either, it works OK.  No danger here.  When was the last time a proc took the default in a proc.  NEVER!

      Charlie

    • #57642
      Vidya Baskaran
      Participant

      Adding shutdown fixed it.  I’ll try to do better next time Charlie. 😀

Viewing 3 reply threads
  • The forum ‘Cloverleaf’ is closed to new topics and replies.

Forum Statistics

Registered Users
5,126
Forums
28
Topics
9,295
Replies
34,439
Topic Tags
287
Empty Topic Tags
10