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
open error bad file number outbound msg save
System
Originally posted by Bill Marsch
for outbound save message file received and open error could not save due to bad file number. has anyone gotten this or could assist with this issue?
Find more posts tagged with
Clovertech
Comments
System
Originally posted by Mark Thompson
Bill,
Check to make sure you don't have 2 threads trying to save to the same filename. (Or both inbound and outbound messages on the same thread trying to save to the same filename.) The SMAT file gets locked by whoever gets there first.
jnelson
This can also happen if you stop a thread, view the SMAT file, and then start the thread with the SMAT utility still running. The SMAT utility still has the file locked and the thread can't open it for writing. Another gotcha of this scenario is that when the SMAT utility is closed, the files are still not opened by the thread until it is cycled, so you lose any messages that would have been saved.
For this reason, it's always a good idea to stop your thread, copy the SMAT files to another location, then open the copies instead of the originals in the SMAT utility.