You are on page 1of 4

T24 - Assessment - 1

1. A routine TEST.AUT is attached in the field AUTO.NEW.CONTENT for the field TARGET in the
CUSTOMER version record. Following is the snapshot of the routine

SUBROUTINE TEST.AUT
$INSERT I_COMMON
$INSERT I_EQUATE
$INSERT I_F.CUSTOMER
R.NEW(EB.CUS.TARGET) = 999
R.NEW(EB.CUS.STREET) =‘XYZ’
RETURN
END

A user opens a new record opens a new record through this version. What will be the values
in TARGET and STREET?

a. TARGET = 999, STREET = XYZ


b. TARGET is null STREET = XYZ
c. TARGET =999, STREET is null
d. Both TARGET and STREET are set to null

2. A bank user would like to do additional processing when a record in ACCOUNT application is
commit and in unauthorised status. How could this be achieved?
a. By writing a routine and attach the same as INPUT.ROUTINE in the ACCOUNT version
b. By writing a routine and attach the same as AUTH.ROUTINE in the ACCOUNT version
c. By writing a routine and attach the same as UNAUTH.ROUTINE in the ACCOUNT version
d. By writing a routine and attach the same as BEF.AUTH.ROUTINE in the ACCOUNT version

3. What is the API name that will return a list of local references attached to a T24 table?
a. GET.LOC.REF
b. DAS.LOCAL.REF.TABLE
c. EB.LOCREF.SETUP
d. LOCAL.TABLE
e. LOCAL.REF.TABLE

4. Which function should be used to find a string in a substring?


a. FIND
b. LOCATE
c. INDEX
d. FINDSTR
e. INSERT

5. What should be included in all T24 subroutines?


a. It must start with a SUBROUTINE statement
b. It must start with a PROGRAM statement
c. An INSERT for I_COMMON and I_EQUATE
d. An INSERT for I_COMMON and I_EQUATE and I_F.DATES
e. An INSERT for I_COMMON and I_EQUATE and I_F.COMPANY

6. Where are the common variables used in version routines available?


a. I_F.VERSION
b. I_VERSION
c. I_COMMON
d. I_VERSION.COMMON

7. What you can see is a sample code of an Authorisation Routine attached to a version of the
CUSTOMER application. Pick the correct statement if the existing value of the
ACCOUNT.OFFICER field is 45

SUBROUTINE V.CUS.AUTH.RTN
$INSERT I_COMMON
$INSERT I_EQUATE
$INSERT I_F.CUSTOMER
R.NEW(EB.CUS.ACCOUNT.OFFICER) = "50"
RETURN
END
a. The value of the field ACCOUNT.OFFICER will be 45 even after the routine executes
since you cant change R.NEW in an authorisation routine
b. The value of the field ACCOUNT.OFFICER will be 50 as changes to R.NEW is saved to the
database, but this kind of update is not suggested
c. There must be a call to F.WRITE since R.NEW is already flushed to the database when
the authorisation routine is called
d. There is no need for the insert file I_F.CUSTOMER. This routine will not compile

8. Which one of the following statement is incorrect?


a. Version routines are the only way that a client can customise the way an application
works in T24
b. All version routines must have an entry in EB.API
c. Error messages are raised in validation routines
d. Version routines are not invoked if the number of authorisers is set to 0

9. Which is the correct order of execution of a methods in a template?


a. Process, Validate, Authorise
b. Validate, Record, Authorise
c. Record, Validate, Authorise
d. Record, Authorise, Validate

10. What routines cannot be attached to a version?


a. Input Routines
b. Validation Routines
c. Override Routines
d. Authorisation Routines

11. When committing a record, UNAUTH.RECORD.WRITE is not called for which type of
application?
a. H type applications
b. L type applications
c. T type applications
d. W type applications
e. U type applications

12. How can one find out whether a file can be shared or not among different companies of a
bank?
a. Must be specified in the FILE.CONTROL record for the application
b. Must be specified in the PGM.FILE record for the application
c. Must be specified in the STANDARD.SELECTION record for the application
d. Must be specified in the version of an application

13. What is the equivalent of NOCHANGE property for a single value field for an associated multi
value set?
a. NODELETE
b. NOCHANGE
c. NOMODIFY
d. NOINPUT

14. When compling a subroutine that reads an ACCOUNT record and extracts the CURRENCY
value, I get the following error Variable 'AC.CURRENCY' is never assigned. What could be the
reason for this error?
a. OPF has not been performed on the ACCOUNT application before reading and extracting
the currency value
b. F.READU has been used instead of F.READ
c. I have forgotten to include I_F.ACCOUNT in the code
d. I have used the incorrect field name for CURRENCY in the ACCOUNT application

15. What will be the output of the following code segment?


PROGRAM TEST1
YVAR = 'HELLO WORLD'
EQUATE 'HELLO' TO 'HAI'
PRINT FIELD(YVAR,'L',1)
END
a. HE
b. HAI WOR
c. HELLO WOR
d. HAI WORL

16. Which common variable can be used to access existing unauthorised record and not the
current record a user has edited in the screen, both belonging to the same id?
a. R.NEW
b. R.NEW.LAST
c. R.OLD
d. R.RECORD

17. Which comman variable can be used to access existing authorised record and not the
current record a user has edited in the screen, both belonging to the same id?
a. R.NEW
b. R.NEW.LAST
c. R.OLD
d. R.RECORD
18. Which one of the following is an incorrect statement?
a. Validation Routines are attached to fields in a version
b. Input Routines are not field specific
c. Multiple Validation and Input Routines can be attached
d. Authorisation Routines are not field specific but only one routine can be attached to a
version

19. Which one of the following statement is incorrect?


a. Version routines are the only way that a client can customise the way an applcation
works in T24
b. All version routines must have an entry in EB.API
c. Error messages are raised in validation routines
d. Version routines are not invoked if the number of authorisers is set to 0

20. What common variables are available for manipulation in a check record routine?
a. R.NEW only
b. R.NEW.LAST and R.OLD only
c. R.OLD only
d. R.NEW, R.NEW.LAST and R.OLD

You might also like