Friday, November 5, 2010

Temenos T24 Infobasic Command MATREAD

MATREAD is a command that is used to read the contents of a dimensioned/dynamic array. You can specify the id of the record to be picked up from the array. In case the read is successful, then the statements following the 'THEN' statements are executed else the statements following the 'ELSE' statement are executed.

Syntax

MATREAD array FROM FILE.VAR, RECORD.ID 
THEN CRT "THEN SCENARIO" 
ELSE CRT "ELSE SCENARIO"

Usage

MATRED Array1 from F.REGISTER.DETAILS,ID1 THEN ….. ELSE …..
The above statement will search for a record with id specified in the variable ID1, if found, it will transfer the record to the array Array1.

0 comments:

Post a Comment

 

Blog Info

A Pakistani Website by Originative Systems

Total Pageviews

Tutorial Jinni Copyright © 2015 WoodMag is Modified by Originative Systems