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
Protocol: UPoC
Jerry Tilsley
Does anyone have any examples in how they have used the protocol type of UPoC? Just curious to the various ways this has been used.
Thanks!
Find more posts tagged with
Clovertech
Comments
System
Originally posted by Ron Archambault
Jerry,
We use them for timed reads to our databases. There's a good example called timed_read.tcl in $HCIROOT/contrib.
Ron
Jerry Tilsley
Thanks Ron!
System
Originally posted by Robert Milfajt
I once used a UPoC to perform an http post call. I forget why I used UPoC, but I believe it was because we were still on 3.8.1P and that versions HTTP protocol was not working as I expected. It turned out to be a shortlived proof of concept as the people running the project are not working with the Mirth open source interface engine as a front end to loading their database.
Bob
Russ Ross
I posted an example of how I use the UPOC protocol to communicate with our IBM mainframe via TCP/IP by having the UPOC invoke the appropriate application (TRHB) on the mainframe and then send it the FRL containing the textual transcription document.
Here is the URL of my post that includes most of the details you are looking for, including a copy of the code for my upoc_tran_client.tcl and NetConfig screen shots:
https://usspvlclovertch2.infor.com/viewtopic.php?t=2409&
;
It even has logic in it that reads from the USERDATA metadata that gets set in another cloverleaf process during xlate to communcate to the outbound UPOC thread if the document was too large and has been truncated.
One thing to remember when doing UPOC that is significant, you assume the responsiblilities that the cloverleaf engine typically handles for you and have to code for those responsibilities.
Also remember if your UPOC has a sleep in it that it will sleep the entire process and any threads in that process.