infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Tcl Library
tcl shutdown error
Kevin Crist
when we restart a process we are getting the following error:
I have attached the proc, can anyone explain this error or how to fix this, i am betting it's something simple.
msgId = none
proc = 'tpsValidateLabORMs'
args = ''
result = 'invalid command name "shutdown"'
errorInfo: '
invalid command name "shutdown"
while executing
"shutdown {
# Doing some clean-up work
}"
(procedure "tpsValidateLabORMs" line 207)
invoked from within
"tpsValidateLabORMs {CONTEXT sms_ib_data} {ARGS {}} {MODE start} {VERSION 3.0}"'
Find more posts tagged with
Clovertech
Comments
Jim Kosloskey
Kevin,
I think you have a mis-matched curly brace in the run portion of the mode switch (I think there is an extraneous } just before the time switch element).
Use an editor that has the ability to match braces/brackets/etc and work your way through the mode switch command.
Kevin Crist
Thanks Jim, i'll take a look. The wierd thing is that the proc is working as good, i just happened to notice this in the logs when i bounced the process.
Jim Kosloskey
Kevin,
Well if my guess is correct, you never invoke the time mode and the only time the shutdown mode is invoked is when shutting down the thread. Both of those switch elements are after the run elelment which is where I am theorizing your issue lies.
carters
Kevin,
You need to remove the brace on the line right before the 'time' portion of the switch statement.
If you don't have an editor that will match braces as Jim suggested, gVim is a good one (and it's free).
Steve