× Discuss on Template programming, jBASE programming, Enquiries, No-File enquiry, Enquiry routines, Version, Version routines, Menus, Abbriviations, Creating local reference fields, Fast path enquiries, Creating charts and graphs, Generating Reports, Deal slips, Straight through processing, Multi Company and Multi Book setup, Tabbed screens, Composite Screens, T24 API, etc...

HOW TO GET OPTIONS INFORMATION FROM OFS REQUEST MESSAGE

  • cemtezer
  • cemtezer's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
2 years 7 months ago #23437 by cemtezer
Hi,
I want to get an information of ofs request for PROCESS or VALIDATE, i mean i want to add differents control VALIDATE ofs request and PROCESS ofs request.
So how to get these options values with in input routine?
Thanx and regards.

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

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G09-G13|TAFC:R05-R23|TAFJ:R19,R23:test
More
2 years 7 months ago #23438 by VK
Hi
to get anything from OFS message IMHO the best place is IN.MSG.RTN in OFS.SOURCE.

quoting from memory so field name might be a bit different  ::)

Cheers
VK

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

  • cemtezer
  • cemtezer's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
2 years 7 months ago #23439 by cemtezer
Firstly, thanks for response,
actually i know place of IN.MSG.RTN but i need to get OPTIONS in input rutine as same V$FUNCTION, APPLICATION, PGM.VERSION those are global words or functions to use in routine, i wanna learn this ofs request for PROCESS or VALIDATE.
For example;
FUNDS.TRANSFER,TB.INT.FX.BUY.ACCT.TC/I/VALIDATE,ctezer/QAws12/TR0010001....

so how to get VALIDATE in OPTIONS part of above ofs request in the our local routine?

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

  • silvergem
  • silvergem's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • TAFC|R12/R13, TAFJ|R20
More
2 years 7 months ago - 2 years 7 months ago #23440 by silvergem
You can use the INDEX or FINDSTR to find the VALIDATE or PROCESS OFS.SOURCE string

You can also enter DEBUG mode then enter / display all the variable contents currently use on subroutine
Last edit: 2 years 7 months ago by silvergem.

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

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G09-G13|TAFC:R05-R23|TAFJ:R19,R23:test
More
2 years 7 months ago - 2 years 7 months ago #23442 by VK
Hi
insert I_GTS.COMMON to your input rtn; then check the following variable:

OFS.VAL.ONLY,   ;* Will be set to true when validating input only

 

Cheers
VK
Last edit: 2 years 7 months ago by VK.

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

  • cemtezer
  • cemtezer's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
2 years 7 months ago #23444 by cemtezer
Hi, @VK
I tried to find exaxctly this value that is OFS.VAL.ONLY,
Appreciated so much.

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

Time to create page: 0.107 seconds