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
Cloverleaf
TCL File Create
System
Originally posted by Brian Sweetland
I have a TCL proc to log my msg count. By default, my file writes to the <process> directory.
How do I change my
Find more posts tagged with
Clovertech
Comments
System
Originally posted by Robert Milfajt
I noticed that you need to reverse the slashes, i.e., C:tempmsgcnt needs to be C:/temp/msgcnt/ in TCL.
Try this:
lappend msg_cntr_log $startdate
lappend msg_cntr_log $starttime
lappend msg_cntr_log $msg_cntr
set msg_cntr_log [join $msg_cntr_log t]
set file "C:/temp/msgcnt/msg_cntr.log"
set logfile [open $file a+]
puts $logfile $msg_cntr_log;flush $logfile
close $logfile
Hope this helps,
System
Originally posted by Brian Sweetland
Perfect. Thanks.