× Discuss about OFS, Temenos Connectors, Various OFS modes, OFS with Versions, OFS performance, Logging, EB.PHANTOM, OFS.SOURCE etc…

Call Subroutine through OFS

  • abbasi
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
12 years 9 months ago #10328 by abbasi
Call Subroutine through OFS was created by abbasi
Dear All,


Could anyone tell me OFS Syntax, how I can call my own developed subroutine (subroutine name : T24Routine)

I know OFS Syntax Transaction requests/Enquiry requests only.


Best Regards,
Abbasi

Please Log in or Create an account to join the conversation.

  • balaji2301
  • Visitor
  • Visitor
12 years 9 months ago #10329 by balaji2301
Replied by balaji2301 on topic Re: Call Subroutine through OFS
why do u want to call the subroutine through OFS?

Only for transaction and enquiry request we go for OFS

Just CALL ur subroutne rather than through OFS


CALL T24 ROUTINE

Please Log in or Create an account to join the conversation.

  • ragupathi
  • Visitor
  • Visitor
12 years 9 months ago #10395 by ragupathi
Replied by ragupathi on topic Re: Call Subroutine through OFS
You can attach your own subroutine in OFS.SOURCE record.

Please Log in or Create an account to join the conversation.

  • johnperez
  • Visitor
  • Visitor
12 years 9 months ago - 12 years 9 months ago #10415 by johnperez
Replied by johnperez on topic Re: Call Subroutine through OFS
Since r9 (I'm not sure), you could call routines from OFS.

1. you need to create a routine with 2 parameters (request, response)
2. you need to declare the routine on PGM.FILE as TYPE=S
3. call through OFS

This is a OFS Message:

T24.ECHO.ROUTINE,,INPUTT/123456,,Hello T24

Please find attached an example
Attachments:
Last edit: 12 years 9 months ago by johnperez.

Please Log in or Create an account to join the conversation.

  • abbasi
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
12 years 8 months ago #10464 by abbasi
Replied by abbasi on topic Re: Call Subroutine through OFS
johnperez thank you so much...for your great help and resolve my problem.
Regards,

Aftab Abbasi

Please Log in or Create an account to join the conversation.

Time to create page: 0.074 seconds