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
Need simple tcl to suppress characters
System
Originally posted by Jason Bond
This is probably very easy for tcl people, but I need some code to suppress the leading four carots in a location field. Any ideas?
Thank You,
Jason Bond
Samaritan Health
Find more posts tagged with
Clovertech
Comments
Jim Kosloskey
Jason,
If you are using an Xlate simply copy the fifth component to the first component and copy
@null
to the fifth component (if using BULKCOPY or PATHCOPY). As a result the Xlate will suppress what now become trailing carets.
I.E. ob field |^^^^data| <---before copies (if using BULKCOPY or PATHCOPY otherwise ib field looks like that)
COPY
0(0)....field(0).[4] 0(0)....field(0).[0] Field now looks like: |data^^^^data|
COPY <--- this COPY is unnecessary if not using BULKCOPY or PATHCOPY
@null
(0)....field(0).[4] Field now: |data^^^^| but... since the Xlate gets rid of nonsensical separators really will output like this: |data|.
I think that is what you want.
Jim Kosloskey
System
Originally posted by Jason Bond
Thank you, I will give that a try.