Week 4 Dumps
Week 4 Dumps
2.Which of the following is the correct statement to initialise a variable called CURR.DATE with today’s
date when working with components.
4.THE.ARGS=’20110331’
CALL.DAS(“FUND.TRANSFER”,DAS.FUNDS.TRANSFER$FORWARDFT,THE.ARGS,”)
5.Do we have to create PGM.FILE entry for a DAS routine? If yes, what is the type to be specified in
PGM.FILE
ANS- OPTION D -> No, Entry need not to be created in PGM.FILE for DAS routines.
ANS-OPTION D -> is a dynamic array that holds the SYSTEM record in SPF
RETURN
END
12.When a Customer record is opened for modification the message “PREVIOUS USERS WORK WILL BE
LOST” is displayed .What does this imply?
ANS-OPTION A -> The User is modifying an Unauthorised record that was previously created or modified
by another user
13.The System date on which T24 is running is Sept 14 2014.The T24 date is Sept 12 2014. What does
TODAY store?
ANS-OPTION C -> TODAY stores the Branch’s T24 date, so its Sept 12 2014
18.While programming for Credit Card application, the credit card type has to be defaulted based on the
Customer Salary input. Which method in the contract template should this?
19.If a bank wants a routine to be called whenever any Version of the application is used
ANS-OPTION A -> The routine should be attached in the VERSION.CONTROL application
20.Common variable used in Enquiry routines that holds the last extracted value.
ANS-OPTION B -> O.DATA
22.A new USER record is created by the admin. THE CO.CODE audit field of this record is updated using
which of the following
23.The target routine requires values available in the record GB001001 of COMPANY table.
ANS-OPTION B -> Use UTF.setRecord() to create a in-memory record. Only required fields need to be
populated
24.CheckRec routine was written and attached to the ACCOUNT.NEW version. The routine is not
invoked when the command ACCOUNT,NEW S 19461 is used. What could be the problem.
ANS-OPTION D -> There is no problem. Check Rec routine will not be called for the S function.
25.The common variable from I_ENQUIRY.COMMON that holds the record for the ID being processed
currently is
29.Choose the correct option to ensure that SECTOR field in CUSTOMER cannot be amended if the LIVE
record belongs to sector 1001
ETEXT=”SECTOR.CANNOT.MODIFY”
CALL STORE.END.ERROR
END
31.SUBROUTINE ACCOUNT.RECORD
$INSERT I_COMMON
$INSERT_I_EQUATE
IF E THEN RETURN
END
R.NEW(AC.CURRENCY)=’USD’
END
RETURN
END
ANS-OPTION B -> The code will compile even though the insert file I_F.ACCOUNT for the CCOUNT
application has not been included.
32.After which Template method is the record displayed in the client browser?
ANS-OPTION A -> .RECORD
34.The name of the country must be displayed instead of the Country Code in the CUSTOMER Enquiry.
This can be achieved using a
37.The best way to count the number of Accounts held by a Customer is to _____
ANS-OPTION A -> Write a routine to read the specific record from CUSTOMER.ACCOUNT application and
then apply the DCOUNT function to count the number of Accounts.
38.Number of parameters for a Build routine attached to Enquiries.
ANS-OPTION C -> one
39.Which T24 API will you use to add a field, where the values in the dropdown can be configured by
the bank
40.The insert file that has code to construct and execute a DAS query
ANS-OPTION B ->I_DAS
$INSERT I_COMMON
$INSERT I_F.AC.DEBIT.CARD
AF = AC.NO.CARDS
IF R.NEW(AF) GT 3 THEN
END
RETURN
ANS-OPTION D -> Use ETEXT to raise the error and make an explicit call to STORE.END.ERROR
RETURN
END
ID.NEW is not available in .FUNCTION and gets populated with CC001 only when .ID method executes
44.The sequence of methods that are executed (if available) on authorisation are
ANS-OPTION A ->.VALIDATE,.AUTHORISE
47.You are creating a new application and want to ensure that authorization of the records can be done
only by user with ID – AUTHOR. In which routine will you code this requirement?
49.A TESTCASE is written for code that is written using .component, To check if the STUB is called when
the value in V$FUNCTION is R(for reverse) we must
PROGRAM TEST
NUMBER=1
LOOP WHILE NUMBER NE 1
GOSUB MODULE1
NUMBER = NUMBER+1
REPEAT
MODULE1:
NUMBER=1
RETURN
END
a) Once
b) Program will not compile
c) Infinite number of times
d) Loop will never get executed
10. The command that can be executed using the helper servlet at the URL
localhost:9089/TAFJEE
a) tCompile
b) tDiag
c) tJed
d) tConfig
16. UTF.addStubParam(STUB,’1’,’ONE’)
a) One of the parameters for the stub is defined here. The value of the param when the
stub is called is ‘1’ and becomes ‘One’ after the call
b) The STUB has many parameters and the 1st parameter is defined here. The value in the
first parameter is One
c) This is an incorrect addStubParam definition
d) The Stub requires two parameters. The value of the first parameter is ‘1’ and the value
of second parameter is ‘One’
17. Which of the following is the best method to get details of products installed in T24
a) Read the SYSTEM record from SPF application using F.READU
b) Read the SYSTEM record from SPF application using F.READ
c) Use the common variable R.SPF.SYSTEM
d) Read the SYSTEM record from SPF application using CACHE.READ
18. You have upgraded to a newer version of T24 and 3 new jars have now been copied to the
JBOSS_HOME\mod….
a) The new libraries will be picked by jBoss automatically
b) The definitions for the new libraries must be added in standalone-conf.bat
c) The definitions for the new libraries must be added in standalone-full.xml
d) Module.xml must be rebuilt using jBossTools
19. Using the CUSTOMER.ID that is available in the ACCOUNT record, you want to find the NAME
of the CUSTOMER which….
a) F.READU
b) API need not be used and the record can be read using READ command
c) F.READ
d) CACHE.READ
20. The value in O.DATA is modified by the SUBROUTINE GET.TELLER.DET that is called from the
target routine. How should this be….
a) In the target routine we must add the O.DATA=”new value”. Now, the new required
value is available in the subvalue
b) we cannot check for COMMON variables that are modified outside the target routine
c) no need to specify anything. When the TESTCASE is run, the target routine will call
GET.TELLER.DET and the modified value.
d) In this TESTCASE, we must add
STUB = UTF .addStub(“GET.TELLER.DET”)
UTF.addStubCommonChanges(STUB,O.DATA,”new value”)
21. The name of the country must be displayed instead of the Country Code in the CUSTOMER
Enquiry. This can be achieved by
a) Conversion Routine
b) Not possible as only country code is stored in the CUSTOMER application
c) Either a Build or Conversion routine can be written
d) Build Routine
22. Which of the following common variable holds the ID of the active user in the current
session
a) USER.ID
b) R.USER
c) CURR.USER
d) OPERATOR
23. Common variable that holds the total number of fields in an application.
a) Z
b) N
c) F
d) V
26. While performing a transaction R.NEW.LAST does not hold any value. What could be the
reason for this?
1. This is a new record
2. The record does not have any unauthorised record
3. User is modifying an authorised record for the first time
a) 1 and 2
b) 1 and 3
c) 1 only
d) 1, 2, 3
27. Using the CUSTOMER.ID that is available in the ACCOUNT record, you want to find the NAME
of the CUSTOMER. Which API will you use to read the CUSTOMER record?
a) API need not be used and the record can be read using READ command.
b) F.READ
c) CACHE.READ
d) F.READU
28. This template method will be invoked during input as well as authorisation stage
a) .VALIDATE
b) .OVERRIDE
c) .AUTHORISE
d) .PROCESS
29. Any changes made to R.NEW by this kind of version routine will not be reflected in the file
a) After Unauth routine
b) CheckRec Routine
c) AutoField Routine
d) Input Routine
31. The common variable from I_ENQUIRY.COMMON that holds the record for the ID being
processed currently is
a) R.RECORD
b) O.DATA
c) R.NEW
d) ENQ.DATA
32. Arrvar = a VM c VM d SM e SM f VM g FM b VM h VM i SM j
Insert “x” between d and e
a) INS “x” BEFORE Arrvar<1,3>
b) INS “x” BEFORE Arrvar<1,3,2>
c) INS “x” BEFORE Arrvar<2,1,3>
d) INS “x” BEFORE Arrvar<1,1,3>
33. If a bank wants a routine to be called whenever any Version of the application is used
a) This is not possible in T24
b) The routine should be attached in the VERSION.CONTROL application
c) The routine must be attached in the application itself
d) The routine must be attached to every version that is created for the application
34. Do we have to create PGM.FILE entry for a DAS routine? If yes, what is the type to be
specified in PGM.FILE
a) Yes. B type
b) Yes. M type
c) No. Entry need not be created in PGM.FILE for DAS routine
d) Yes. S type
39. The insert file that has code to construct and execute a DAS query
a) I_DAS<APPLICATION>
b) I_DAS.COMMON
c) I_DAS
d) I_DAS<APPLICATION>.NOTES
40. Which of the following statements is true with respect to Version Routines
a) Data input in a field can be validated using Auto Field Routine
b) Data input in a field can be validated using Check Rec Routine
c) Data input in a field can be validated using Validation Routine
d) Both a and c
42. How many times will the loop be executed in the below code?
PROGRAM TEST
NUMBER=1
LOOP WHILE NUMBER EQ 1
GOSUB MODULE1
NUMBER = NUMBER+1
REPEAT
MODULE1:
NUMBER=1
RETURN
END
a) Once
b) Program compile
c) Infinite number of times
d) Loop will never get executed
43. Arrvar = a FM b SM c VM d SM e SM f VM g FM b VM h SM k
CRT Arrvar<2,1,2> prints
a) Error. SM cannot be introduced between a FM and a VM.
b) k
c) c
d) Error. Because Field 1 does not have value markers.
45. The command tRun -cf MB EX is given from the TAFJ shell and MB.properties is not available
in the conf folder
a) This is not a problem. The entry in .default will be used instead
b) This is a problem and error will be raised
c) This is not a problem tafj.properties will be used instead
d) This is not a problem. Default.properties will be used instead
46. When the request to create a new Account is committed, the details about the Inputter of
the record and the Overrides generated have to be stored in a flat file. In which method you
will write the code to implement this requirement
a) .RECORD
b) .VALIDATE
c) .AUTHORISE
d) .FUNCTION
47. The statement that specifies the PROGRAM/SUBROUTINE is also part of the module
a) $USING
b) $PACKAGE
c) $MODULE
d) $INSERT
48. While programming for Credit Card application , the credit card type has to be defaulted
based on the Customer salary input. Which method in the contract template should be used
to implement this ?
a) .RECORD
b) .VALIDATE
c) .ID
d) .INITIALISE
49. A TESTCASE is written for code that is written using .component. To check if the STUB is
called when the value in V$FUNCTION is R(for reverse) we must ……
a) UTF.addStubPropertyCondition
b) Use UTF.addStubCommonCondition
c) Use IF condition to evaluate the value in V$FUNCTION
d) This is not possible. Use NbInvocation to check if the STUB is called
53. After which Template method is the record displayed in the client browser?
a) .ID
b) .RECORD
c) .FUNCTION
d) .VALIDATE
60. CheckRec routine was written and attached to the ACCOUNT,NEW version. The routine is
not invoked when the command ACCOUNT,NEW S 19461 is used.
a) There is a problem in the VERSION that must be checked and corrected
b) There is no problem. Check Rec routine will not be called for the S function
c) There is a problem in the routine that needs to be checked and corrected
d) Check if the EB.API entry is available and authorised
62. The mandatory routines that have to be written for a multithreaded routine
a) LOAD,RECORD,FILTER
b) RECORD,FILTER
c) LOAD,SELECT,RECORD
d) LOAD,RECORD
63. Which of the following statements is true?
a) TXN.ID is mandatory for the D function
b) All OFS messages will have FIELD.NAME and FIELD.VALUE
c) OFS response will not be displayed in case of errors in the transaction
d) OFS request for enquiry does not require T24 USER credentials
65. Which common variables will hold values when an authorised CUSTOMER is modified for the
first time?
a) R.OLD and R.NEW.LAST
b) R.OLD and R.NEW
c) R.NEW.LAST
d) R.NEW
67. The NATIONALITY for new customers should default to “US”. In which routine will you code
for this requirement?
a) .FUNCTION
b) .AUTHORISE
c) .ID
d) .RECORD
70. The best way to count the number of Accounts held by a Customer is to _____________
a) Write a routine to read the specific record from CUSTOMER.ACCOUNT application and
then apply the OCONV function to count the number of accounts
b) Write a routine that uses the CUSTOMER.ID to loop through the ACCOUNT application
and count the number of accounts held by the customer
c) Write a routine to read the specific record from CUSTOMER.ACCOUNT application and
then apply the DCOUNT function to count the number of accounts
d) Write a routine to read the specific record from CUSTOMER.ACCOUNT application and
then apply the FIELD function to count the number of accounts
71. Which T24 API will you use to add a field with list of options that should not be modified by
the client
a) addYesNoField
b) addFieldWithEbLookup
c) addOptionsField
d) addField
75. T24 API that should be used to get the ID of the currently logged on user
a) F.READ
b) F.READU
c) CACHE.READ
d) No API requested. Automatically cached in Common variable OPERATOR when session is
initialised
76. The cache that will get reinitialised after each transaction is ______________
a) Static cache
b) Session cache
c) Named cache
d) Transaction cache
82. Which of the following T24 API can be used to generate a radio button on the web page
a) Table.addYesNoField
b) Table.addField
c) Table.addOptionsField
d) Table.addRadioField
84. Whenever an account is created, the concat file CUSTOMER.ACCOUNT has to be updated. In
which application is this logic implemented?
a) CUSTOMER
b) This logic is implemented in a multi threaded routine
c) ACCOUNT
d) CUSTOMER.ACCOUNT
1. How can we run a DAS query on unauthorized records in the application?
Answer C
A, DAS queries cannot be run on unauthorized records
B, Write SUBROUTINE DAS$NAU<APPLICATION NAME>
C, Pass $NAU as third parameter when the DAS routine is called
D, Pass <APPLICATION NAME>$NAU as first parameter when the DAS routine is called
Answer B
3. The NATIONALITY for new customer should be default to “US”. In which routine will you
code for this requirement?
Answer C
A, .AUTHORISE
B, .ID
C, .RECORD
D, .FUNCTION
4. The insert file that has code to construct and execute a DAS query?
Answer D
A, I_DAS.COMMON
B, I_DAS.<APPLICATION>
C, I_DAS.<APPLICATION>NOTES
D, I_DAS
5. The value in O.DATA is modified by the SUBROUTINE GET.TELLER.DET that is called from the
target routine. How should this be indicated in the TESTCASE
Answer A
STUB=UTF.addStub(“GET.TELLER.DET”)
C, In the target subroutine we must add the line O.DATA=”new value”. Now the new
required value is available in the subroutine and the TESTCASE will run successfully
D, No need to specify anything. When the TESTCASE is run, the target routine will call
GET.TELLER.DET and the modified value in O.DATA is available in the target routine
6. Which of the following T24 API can be used to generate a radio button on the web page?
Answer D
A, Table.addField
B, Table.addRadioField
C, Table.addYesNoField
D, Table.addOptionsField
Answer B
C, .AUTHORISE
9. Which common variables will hold values when an authorised CUSTOMER is modified for the
first time?
Answer C
A, R.NEW
B, R.OLD and R.NEW.LAST
C, R.OLD and R.NEW
D, R.NEW.LAST
11. The common variable from I_ENQUIRY.COMMON that holds the record for the ID being
processed currently is
Answer C
A, ENQ.DATA
B, R.NEW
C, R.RECORD
D, O.DATA
Answer C
B, No parameters are required for the Build routine as common variables are available in
I_ENQUIRY.COMMON
C, one
D, four
13. When a customer record is opened for modification the message “PREVIOUS USERS WORK
WILL BE LOST” is displayed. What does this imply?
Answer B
15. Which T24 API will you use to add a field, where the values in the dropdown can be
configured by the Bank.
Answer C
A, addField
B, addOverridesField
C, addFieldWithEbLookup
D, addYesNoField
16. The statement that specifies the PROGRAM/SUBROUTINE is also part of the module
Answer C
A, $USING
B, $MODULE
C, $PACKAGE
D, $INSERT
17. CheckRec routine was written and attached to the ACCOUNT,NEW version. The routine is
not invoked when the command ACCOUNT,NEW S 19461 is used. What could be the
problem?
Answer C
C, There is no problem. CheckRec routine will not be caked for the S function
18. Common variables used in Enquiry routines that holds the last extracted value?
Answer A
A, O.DATA
B, COMI
C, R.NEW
D, R.RECORD
Answer A
Answer A
B, Yes. B type
C, Yes. S type
D, Yes. M type
21. How can the R function be blocked for all users in AC.DEBIT.CARD application?
Answer B
22. This kind of Version routine is invoked on committing the record or also after tab out from a
field
Answer C
C, Validation Routine
D, Input Routine
Answer A
A, V$FUNCTION = I
ID.NEW =
ID.NEW is not available in .FUNCTION and gets populated with CC001 only when .ID
method executes
B, Runtime error because Credit card ID should be a 12 digit number with Julian date and the
5 digit sequence no.
C, Will not print anything because V$FUNCTION will be populated after .FUNCTION and
ID.NEW is populated after .ID method
D, V$FUNCTION = I
ID.NEW = CC001
24. Which of the following code snippet can be used to count the number of addresses enter by
the user while creating a new Customer?
Answer A
A, DCOUNT(R.NEW(dfEB.CUS.ADDRESS),@VM)
B, DCOUNT(R.CUSTOMER<EB.CUS.ADDRESS>,@FM>
C, DCOUNT(R.NEW(EB.CUS.ADDRESS),@FM)
D, DCOUNT(R.CUSTOMER<EB.CUS.ADDRESS>,@VM)
Extra question
2. which version routine will u use to vlidate the data from the user
5. if sterio type is U and file type is FIN how mant records will be created for compant BNK
an GBK
9. were will u write logic if the data in diff tables has to be updated when the recode
updated(and .Authorise)
1. H type of application will have Live, $NAU, $HIS files
2. The name of the country must be displayed instead of the country code in the CUSTOMER
enquiry. This can be achieved using a conversion routine.
3. Maximum number of fields that can be stored in R.NEW as defined by the common variable
C$SYSDIM.
4. THE.ARGS=’20110331’ CALL DAS(“FUNDS.TRANSFER”, DAS.FUNDS.TRANSFER$FORWARDFT,
THE.ARGS,”) At runtime MY.CMD is populated with DAS.FUNDS.TRANSFER$FORWARDFT.
5. The NATIONALITY for new customers should default to “US”. In which routine will you code for
this requirement? Record
6. Which common variables will hold values when an authorized CUSTOMER is modified for the
first time? R.OLD AND R.NEW
7. Do we have to create PGM.FILE entry for a DAS routine? If yes, what is the type to be specified
in PGM.FILE – YES,M TYPE
8. The common variable from I_ENQUIRY.COMMON that holds the record for the ID being
prepared currently is R.RECORD
9. The required database driver must be copied to the folder TAFJ_HOME/ext
10. The statement that specifies the PROGRAM/SUBROUTINE is also part of the module $PACKAGE
11. The mandatory routines that have to be written for a multithreaded routine
LOAD,SELECT,RECORD
12. Which of the following statements is true? TXN ID is mandatory for the D function
13. THE.ARGS=’20110331’
CALL DAS(“FUNDS.TRANSFER”, DAS.FUNDS.TRANSFER$FORWARDFT,THE.ARGS,”)
At the runtime MY.CMD is populated with DAS.FUNDS.TRANSFER$FORWARDFT
14. On the application server, T24 libraries and their dependencies are configured in module.xml
15. Any changes made to R.NEW by this kind of version routine will not be reflected in the file
AFTER UNAUTH
16. The following code failed to validate. Can you rectify? SUBROUTINE AC DEBIT
CARD.VALIDATE $INSERTI COMMON
IF R.NEW(AF) GT 3 THEN
CALL STORE.END.ERROR
END
RETURN
17.
18. A multithreaded routine will have B type entry in PGM.FILE. (page no .17
19. which of the following t24 api can be used to generate a radio button on the web page
table.addOptionsField
20. How does the multithreaded routine know if .FILTER routine is present USING THE FIRST
PARAMETER OF BATCH.BUILD.LIST
21. E error variable can eb used in .ID,.FUNCTION and .RECORD
22. if a bank wants a routine called whenever any version of the application is used THE ROUTINE
TO BE ATTACHED IN THE VERSION.CONTROL APPLICATION
23. The insert file that has code to construct and execute a DAS query I_DAS
24. Which of the application is the correct statement to initialize a variable called CURR.DATE with
today’s when working CURR.DATE = TODAY
25. to create a service that can be run independently in t24 w must create record in TSA.SERVICE
with BATCH.STAGE
26. Which common variable will be hold values when an authorized CUSTOMER is modified for the
first time? R.OLD and R.NEW
27. A TESTCASE is written for code that is written using component ,to check if the STUB is called
when the value is V$FUNCTION is R(for reversed) we must this is not possible ,use NbInvocation
to check if the STUB is called
28. BrowserWeb.war should be available in the folder ? Products\deployments
29. Which of the method is the best method to get details of product installed in t24 use the
common variable R.SPF.SYSTEM
30. Using the CUSTOMER.ID that is available in the ACCOUNT record ,you want to find the NAME of
the CUSTOMER . which API used to read the CUSTOMER record?F.READU
31. the statement that specifies the PROGRAM/SUBROUTINE is also part of the module $PACKAGE
32. Any changes made to R.NEW by this kind by this kind of version routine will not be reflected in
the file after unauth routine
33. which of the following statements is true with respect to version routines data input in a field
can be validated using validation routine
34. Which of the following is true with respect to TUT ? UTF object is automatically availbale when
a TESTCASE is written
35. The ARGS = ‘20110331’ CALL
DAS(“FUNDS.TRANSFER”,DAS.FUNDS.TRANSFER$FORWARDFT,THE.ARGS,”)At runtime MY.CMD
is populated with DAS.FUNDS.TRANSFER$FORWARDFT
36. Which of the following is false? FILTER routine is executed in Multi threaded mode as it is part
of a service
37. Which of the following is false about component ? module scope means the artifact is not
visible for other component in the same module