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
PDL compile error
Doug Essner
We are trying to create a PDL with custom encapsulation characters.
The mlp_tcp.pdl uses <x0b><data><x1Cx0D>
We need <x9b><data><x1Cx0D>
The script code uses the character represented by these hex codes. We are having trouble determing the character for x9b. Is it possible to give the hex value in the PDL script code??
Find more posts tagged with
Clovertech
Comments
System
Originally posted by Anonymous
Doug,
I don't see any way to add to the list of named character classes. However, you have a couple of choices to make it work anyway.
You could remove the beginning character from the pdl phrase and write a prewrite TPS procedure to add that character to the beginning of every message.
Or, if you want to exercise your PDL skills, you could make the first character a field instead of a character class. Then you could use TCL within the PDL to put a 9b into that field.
Your phrase would look like:
define phrase basic-msg;
field 9b = fixed-array(1, any );
field data = variable-array( not( ) );
; ;
end phrase;
Reading this phrase is easy, you don't need to make any changes.
To write this phrase you'll have to add some code to the the write portion of the PDL. Something like:
keylset klOutbound 9b [list text [cytpe char 145]
keylset klOutbound data [list message [keylget info message]]
hci_pd_send basic-msg $klOutbound $continuations