×
Discuss about OFS, Temenos Connectors, Various OFS modes, OFS with Versions, OFS performance, Logging, EB.PHANTOM, OFS.SOURCE etc…
Finding associated multivalues from ofsml response
- calvin
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
10 years 6 months ago #15936
by calvin
Finding associated multivalues from ofsml response was created by calvin
Hi,
I have a requirement to parse the OFSML response of a transaction. I specifically need to find the associated fields and values from the response.
For eg;
Multivalued fields in OFS response - FIELD:1:1= value, FIELD:2:1=value
When the fields are associated - FIELD:1:1=value, FIELD:2:1=value,FIELDA:1:1=value, FIELDA:2:1 = value.
It doesn't give me an indication whether this is a group of associated fields or single (multivalued) fields. Is there a way to figure this out without referring the SS?
I have a requirement to parse the OFSML response of a transaction. I specifically need to find the associated fields and values from the response.
For eg;
Multivalued fields in OFS response - FIELD:1:1= value, FIELD:2:1=value
When the fields are associated - FIELD:1:1=value, FIELD:2:1=value,FIELDA:1:1=value, FIELDA:2:1 = value.
It doesn't give me an indication whether this is a group of associated fields or single (multivalued) fields. Is there a way to figure this out without referring the SS?
Please Log in or Create an account to join the conversation.
- jpb
- Offline
- Moderator
- retired
Less
More
- Posts: 2859
- Thank you received: 649
10 years 6 months ago #15937
by jpb
Replied by jpb on topic Finding associated multivalues from ofsml response
The only way I know is to rely on the field definition.
Easiest way is to use CALL EB.EXECUTE.APPLICATION(MyApplication)
After the call you have F, N and T arrays populated an can loop thru F array for XX< and XX>.
Easiest way is to use CALL EB.EXECUTE.APPLICATION(MyApplication)
After the call you have F, N and T arrays populated an can loop thru F array for XX< and XX>.
The following user(s) said Thank You: calvin
Please Log in or Create an account to join the conversation.
- calvin
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
10 years 6 months ago #15938
by calvin
Replied by calvin on topic Finding associated multivalues from ofsml response
Thanks Jpb! I am actually outside the T24 server and I am relying on an OFSML response to display information. So what I understand is that we will have to have a routine within T24 to somehow update the OFS with the appropriate field structure and subsequently do the parsing in my application using this local logic.
Please Log in or Create an account to join the conversation.
- jpb
- Offline
- Moderator
- retired
Less
More
- Posts: 2859
- Thank you received: 649
10 years 6 months ago #15939
by jpb
Replied by jpb on topic Finding associated multivalues from ofsml response
Nice idea, but the "somehow update" will be a hard one i suppose.
Please Log in or Create an account to join the conversation.
- MasterL
- Visitor
10 years 6 months ago #15945
by MasterL
Replied by MasterL on topic Finding associated multivalues from ofsml response
If it\'s not too much of a performance drag, you could also query the SS (via OFSML) and do the matching on the external app.
Please Log in or Create an account to join the conversation.
Time to create page: 0.077 seconds