Loading ...
Loading ...
Loading ...
T24 Application Development
Testing the DAS
By invoking the DAS in discover mode, every query that is defined is exercised and dummy query
statements are created, though not exercised:
jsh r06 -->TEST.DAS EXAMPLE
All interest schedules.
SELECT F.EXAMPLE WITH SCHEDULE.TYPE EQ INTEREST
All schedules with today’s date.
SELECT F.EXAMPLE WITH SCHEDULE.DATE EQ 20060426
All deals with the supplied DEAL.TYPE
SELECT F.EXAMPLE WITH DEAL.TYPE EQ ARG1
Deals that have the supplied customer AND the supplied currency
SELECT F.EXAMPLE WITH CUSTOMER EQ ARG1 AND CURRENCY EQ ARG2
jsh r06 -->
Invoking the DAS
The public API for each Data Access Service is the subroutine DAS. For full details, refer to the
documentation of that routine. However, here is an example of a DAS being invoked:
...
$INSERT I_DAS.EB.LOOKUP
...
THE.ARGS = VIRTUAL.TABLE
THE.LIST = DAS.EB.LOOKUP$ITEMS
CALL DAS('EB.LOOKUP', THE.LIST, THE.ARGS,'')
TEMENOS T24 User Guide Page 24 of 34
Loading ...
Loading ...
Loading ...