Sie sind auf Seite 1von 13

EXAM PAPERS

EXAM ALL QUESTIONS WITH ANSWERS


TEST 1
1. Name files used to set environment variables for UNIX and Windows
respectively.
Name files used to set environment variables for UNIX is .PROFILE
Name files used to set environment variables for Windows is REMOTE.CMD

2. What is the purpose of ICONV and OCONV


ICONV It converts the Date from external form to internal form
OCONV It converts the Date from internal form to external form

3. Output the following


a) X=213456.12321
1. CRT FMT(X,R2%15)
b)X=81221712121
1. CRT INDEX(X,1,2)
a) Output = 000000213456.12
b) Output = 5

4. Explain 3 primary classifications of an application.


Primary classifications:
INT: Installation This covers files like COMPANY, USER, LANGUAGE, where
only one version of the file will exist regardless of the number of companies.
CUS: Customer For files where the data can be shared between companies.
Primarily static information and tables.

FIN: Financial For files that hold financial level details (amounts,
balances,etc.) where the data cannot be shared with other companies.

5. List any 5 artifacts that are required to run an application in T24.


ARTIFACTS:
PGM.FILE : Creates a PGM.FILE
properties array.

record based on the information set in the

FILE.CONTROL: Creates a FILE.CONTROL record based on the information set in


the properties array.
INSERT: Creates the INSERT file (I_F.MY.APPLICATION) that holds the equated
field names. Uses the
prefix defined in the EQUATE.PREFIX property.
CREATE.FILE: Creates the physical database files using EBS.CREATE.FILES
UPDATE.SS: Updates / Creates the STANDARD.SELECTION record / via OFS and
sets the REBUILD.SYS.FIELDS flag to Y

6. Write the syntax of F.READ, F.WRITE and what are the incoming and
outgoing parameters of F.READ AND F.WRITE.
Syntax:
F.READ(FILENAME,ID,R.RECORD,FILEDESCRIPTOR,ERR)
Incoming Parameters: FILENAME,ID,FILEDESCRIPTOR
Outgoing Parameters: R.RECORD, ERR
F.WRITE(FILENAME,ID,R.RECORD)
Incoming Parameters: FILENAME,ID
Outgoing Parameters: R.RECORD
7.what is the IN2 routine for CURRENCY CODE?
A) Each routine is named IN2suffix the field contain suffix
CURRENCY
IN2CCY

The input must be a valid ISO currency code. A numeric currency code will
also be accepted and will be converted to the ISO code.
8. List of five PGM.FILE types values & explain?
A) They are five PGM.FILE types:
H,U,W,T,L
1. H HISTORY FILE
A program that has this type maintains three files - the
unauthorised, live
and history files.
The unauthorised file is updated at Input; the live file at authorisation;
and the history file whenever there is an authorised change to a record.
2. U UNAUTHORISED FILE
A program similar to type 'H' except that history is not maintained.
EX: ABBREVIATION
3.W- WORK FILE
A program that permits updates to a work or temporary file.
4. T-TABLE FILE
A program that displays data in a table file (such as a list of keys) but
does not allow update.
e.g. LMM.CUSTOMER
5. L- LIVE FILE
A program that displays the data of a live file but does not allow
updates.

9.what is the common variable to get the SPF record and current logged
T24 user
name?
A) R.SPF.SYSTEM
SPF - System Parameter File

It has only one parameter file is SYSTEM.

10.In the template programming, what is the t24 standard API to


a. Define the ID field
b. add a check file to a field
c. Add a filed using F, N and T style.
d. Define Local Reference filed.
A)
a. Define the ID field:
CALL Table.defineId(TABLE.NAME.ID, T24_String);
b. add a check file to a field:
CALL Field.setCheckFile(filename);
c. Add a filed using F, N and T style.:
CALL Table.addFieldDefinition(fieldname, fieldLength, fieldType,
neighbours);
d. Define Local Reference filed:
CALL Table. addLocalReferenceField (XX.LOCAL.REF);

TEST 2
WHAT IS THE COMMON VARIABLE TO
A)HOLD THE LAST INPUT FIELD VALUE
ANS).COMI
B) HOLDS THE CURRENTLY OPENED RECORD IN ANY APPLICATION
ANS)..R.NEW
C)HOLDS THE ID OF THE UNAUTHORISED RECORD IF ANY FOR THE
CURRENTLY OPENED RECORD
ANS).ID.NEW.LAST
D)HOLDS THE ACTUAL AUTHORISED RECORD OF THE CURRENTLY OPENED
RECORD ID
ANS)..R.OLD
1)WHAT IS THE T24FILE NAME WHICH STORES FILE CLASSIFICATION?
ANS)FILE.CONTROL
2)WRITE THE SYNTAX OF THE OPF,F.RREAD AND F.WRITE AND THE WHAT
ARE THE INCOMING AND OUTGOING ARGUMENTS OF F.READ AND
F.WRITE?
ANS) CALL F.READ(FILENAME,RECORDID,R.RECORD,FILEPATH,ERR.MSG)
CALL OPF(FILENAME,FILEPATH)
CALL F.WRITE(FILENAME,RECORDID,R.RECORD)
4)WHAT ARE THE IN2ROUTINES FOR COMPANY CODE AND AMOUNT TYPE?
A) IN2COM
IN2AMT
5)NAME OF THE FILE USED TO SET ENVIRONMENT VARIABLES FOR
UNIXAND WINDOWSRESPECTIVELY?
ANS)UNIX - .PROFILE
WINDOWS-REMOTE.CMD
6)WHAT ARE THE COMMON VARIABLES USED TO RAISE ERROR MESSAGE
AND OVERRIDE MESSAGE?
ANS) ERROR MESSAGE E,ETEXT
OVERRIDE MESSAGE-TEXT

7)IN TEMPLATE PROGRAMMING ,WHAT IS THE T24 STANDARD API TO


a)DEFINE THE ID FIELD
ANS)CALL TABLE.DEFINEID(TABLENAME,T24_STRING)
b)ADD A CHECK FILE TO AFIELD
ANS) CALL FIELD.SETCHECKFILE(FILENAME)
c)ADD A FIELD USING F,N AND T STYLE
ANS)CALL TABLE.ADDFIELD DEFINITION(FILENAME,FILE
LENGTH,FILETYPE,NEIGHBOUR)
d)DEFINE A AUDIT FIELDS
ANS)CALL TABLE.SETAUDITPOSITION
8.NAME THE T24 APPLICATION INVOLVED TO CREATE LOCAL REFERANCE
FIELDS?
LOCAL.TABLE (LT)
LOCAL.REF.TABLE (LRT)
9. WHEN THE USER REVERSE THE AUTHORIZED CUSTOMER RECORD
111178. WHAT WILL BE THE RECORD.STATUS OF CUSTOMER RECORD
111178?
(AFTER REVERSE AUTHORISING THE RECORD THE RECORD.STATUS OF CUSTOMER
RECORD 111178 IS RNAU
10.WRITE THE SYNTAX TO CREATE THE J4 TYPE FILE?

CREATE.FILE

F.MCB

TYPE=J4 4,2,3 4,3

DictModulo:4
DictSeparation:2
DictSecondaryBuffersize:3
DataModulo:4
DataSeparation:3
DataSecondaryBuffersize: Default
jrf {-options} {DICT} filename {,...

R
D

reporting only (do not actually resize). Displays suggested resize parameters
allow downsize of file

Jrf -R filename

it asks to you want to resize

Then Jrf -S filename

then it prompts do you want to resize

TEST3
1. List the type of OFS mode and explain all the modes in one line?
a).They are 4 OFS modes
1. BATCH MODE:
FOR OFFLINE REQUESTS FROM THIRD PARTY SYSTEMS.
1.

GLOBUS MODE:
FOR CALLING APPLICATION FROM LOCAL CODE

2.

TELNET MODE:
FOR PROCCESSING MESSAGES ONLINE FROM THIRD PARTY SYSTEMS.

3.

SESSION MODE:
FOR PROCCESSING MESSAGES ONLINE FROM BROWSER.

2. Write an OFS message to input ACCOUNT records in t24 no of


authorizers in 1?
ACCONT,/I/PROCESS//1,VINOD/VINOD1,1234,CUSTOMER=12456,CATEGORY=1001,C
URRENCY=USD
3) Write the OFS Message to Authorize above created record
Answer:
ACCOUNT, /I/PROCESS//1, SVS123/SVS1234,,
CUSTOMER=111500,CATEGORY=1001,CURRENCY=USD
ACCOUNT, /A/PROCESS, SREE123/SREE1234, 71471
4) Consider three Fields in the CUSTOEMR Version ACCOUNT.OFFICER,
COUNTRY & RESIDENCE.
Answer the below with proper field names
a) How to we make ACCOUNT.OFFICER field to have default value 1?
b) How to we make the field COUNTRY as mandatory?
c) If we want to make RESIDENCE as non input field, how do we achieve
this?

To we make ACCOUNT.OFFICER field to have default value 1


Create CUSTOMER version
And go to that customer version and give the field
ACCOUNT.OFFICER
And also give the field value as 52. 1

AUTOM.FIELD.NO.

AUT.NEW.CONTENT

To make country as mandatory field give the field MANDATORY.FIELD COUNTRY


To make RESIDENCE as no input field give the field NOINPUT.FIELD..RESIDENCE
5) What are the Significance of PAGE.SIZE and FILE.NAME fields in
ENQUIRY Application?

A) PAGE.SIZE is used to set the number of line for HEADER, and number of line for
body for the
report.
Example:
PAGE.SIZE

XX,YY

XXNumber of lines for HEADER


YY Number of lines for body of the report
FILE.NAME It is used to extract the data from valid T24 Application
6) How to make a field mandatory input field during selection of an
Enquiry and which field is used to sort the Enquiry output
Answer:
To make a field mandatory input field during selection of an Enquiry, go to enquiry
application
and give the following fields as,
SELECTION.FLDS as your required field name (like SECTOR)
SELECTION.FLDS. filed name (SECTOR) and then give the field
REQUIRED.SEL... Y

And the field FIXED.SORT..... is used to sort the fields

7) What is the outgoing parameter for Build Routine and Conversion


Routine in Enquires?
Answer:
1. The Outgoing parameter for Build Routine is: ENQ.DATA
2. The Outgoing parameter for conversion Routine is: O.DATA

8) What are the field contents of ENQ.DATA common variable?


Answer:
The Field Contents of ENQ.DATA is
ENQ.DATA<1, 1> = ENQUIRY NAME
ENQ.DATA<2, 1>= SELECTION FIELD NAMES
ENQ.DATA <3, 1> = OPERANDS
ENQ.DATA<4, 1> = VALUE OF THE FIELDS
9. what are the common variables used in nofile enquiry routine to get
SELECTION FIELD, SELECTION OPERAND and SELECTION VALUE and what
insert file is mandatory to use these variables?
A. Extract the value from selection criteria box using the 2 common variables
defined in I_ENQUIRY.COMMON namely
SELETION FIELD: D.FIELDS-Holds the field names in the selection criteria box.
SELECTION OPERAND : D.LOGICAL.OPERANDS- Holds the operands.
SELECTION VALUE: D.RANGE.AND.VALUES- Holds the field values in the selection
criteria box.

10.Output array for NOFILE enquiry routine is in


ACCNO*CR.AMT*DR.AMT*CR.TOT.INT*DR.TOT.INT format . How to get the
value of CR.TOT.INT column in ENQUIRY conversion?

A. In ENQUIRY we can attach the fields in field name, in field option contain there
is conversion field in that field we can give the F *,4,1 .so we can get value of
CR.TOT.INT .
F *,4,1 F <delimeter>, <position start> ,<number of positions to>

11.We are developing aNOFILE enquiry with name NOFILE.CUS.REPORT.


this enquiry should take input from user CUSTOMER.NO. How to add a
selection field in nofile enquiry?
A.

USR.FIELD.NAME
USR.TYPE

CUSTOMER.NO
S

12.What is the field used to add header and footer in the enquiry?
A.

FIELD.NAME
OPERATION
COLUMN
SECTION

HEADER/FOOTER
" HEADER/FOOTER NAME
X,Y (x- columns, y-rows)
HEADER/FOOTER

13.What is the purpose of enquiry attributes ALLDATA and NO.SELECTION?


A. ALLDATA - Forces the retrieval of all data before the enquiry is displayed
NO.SELECTION- The selection/criteria will not be available to the user at the
enquiry output
14.1. Name the application used to execute the enquiry?
A.

To execute the enquiry using

ENQUIRY.SELECT

Use abbreviation ENQ instead of ENQUIRY.SELECT

14.2. What is the application used to print the output of enquiry?


A.

ENQUIRY.REPORT

15) What are the common variables which holds the last extracted value
and record pertaining to the current ID extracted in report?
Common variables which holds the last extracted O.DATA

Common variables which holds the last extracted record R.RECORD


16) what are the major stereotypes for templates
H history + unauthorized + live
Uunauthorized + live
Llive only
Wwork file

Ttable file (LMM.CUSTOMER)

17)what are the IN2 routine for amount,currency,company,customer type


fields?
IN2AMT,IN2CCY,IN2COM,IN2CUS
18.REPORT.GENERATE is "W" type template. while using "verify" function
for the template, what is the routine which will be triggered?

Ans: REPORT.GENERATE.RUN
Purpose of "w" type: Used to allow standard input without an unauthorized file and
the verify function to execute special procedures

For type W applications, you MUST write a .RUN routine


19.what is the use of the fields RECORDS.PER.PAGE & FIELDS.PER.LINE IN
A VERSION?
ANS: RECORDS.PER.PAGE: Indicates whether more than one record may be shown
on the same screen in the version the user is creating. it can be
set to 'multi' if more than one record must be seen/input. Default value is 1
FIELDS.PER.LINE:Fields displayed can be place one below the other or more than
one field per line can be displayed.Must be set to 'multi' .if more than one field must
be displayed. Default is 1.
20.I have FUNDS.TRANSFER,INPUT version, I want the supervisor to review
and AUTHORISE the transaction. What are all needed for this to
happen at the VERSION level?
ANS: NO.OF.AUTH........ 1

Here we are creating the FUNDS.TRANSFER in the coma(,) version. it means that
defaulty Number of authorisers set to 1 in the coma(,)
version. IN coma(,) version there is no need to authorise, it will automatically gets
authorised with no.of authorisers set to 1 defaultly

21) What is the use of DROP.DOWN field in VERSION?


A)The ENQUIRY to be used to generate DROP DOWN list for the field.
22)What are the T24 applications involved in creating deal slips?
A)PRINTER.ID,DE.FORM.TYPE,REPORT.CONTROL,DEAL.SLIP.FORMAT,VERSION
23)i)Which fields are used to attach the deal slip?
A) D.SLIP.FORMAT,D.SLIP.FUNCTION,D.SLIP.TRIGGER
ii)Name the core T24 subroutine to generate deal slip from the routine?
A)PRODUCE.DEAL.SLIP(Name of the DEAL.SLIP.FORMAT)
24)i)Name the T24 application holds details of the spooled report?
A) HOLD.CONTROL
ii)What is the T24 application to control the printing of deal slips?
A)BROWSER.PREFERANCES
25)How to enforce AUTO.ID generation for an application?
A)In COMPANY Give PGM.AUTOM.ID field as APPLICATIONNAME M
26)How to define local field as mandatory field?
A)In LOCAL.TABLE Give MINIMUM.CHAR field as 1

27)Suppose the client requirement is to create a local reference field


PGE.NARRATIVE in the applications FT.BULK.DEBIT.AC and
FT.BULK.CREDIT.AC, how do you achieve it?
A)Create LOCAL.TABLE and give the SHORT.NAME field as PGE.NARRATIVE
once. Once we create LOCAL.TABLE we can use it in any applications.
Open LOCAL.REF.TABLE and give Awaiting ID as FT.BULK.DEBIT.AC and give
LOCAL.TABLE.NO field as LOCAL.TABLE name.

Open LOCAL.REF.TABLE and give Awaiting ID as FT.BULK.CREDIT.AC and give


LOCAL.TABLE.NO field as LOCAL.TABLE name.
28)How to resize J4 type file?
A) jrf S filename/directory name
29)i)Suppose a flat file myfile.txt is updating continuously .How to get last
10 lines of the file myfile.txt?
A)tail -10 myfile.txt
ii)What is the unix command to display the contents of a file?
A)CAT file name
30)i)What is the use of environmental variable JBCOBJECTLIST?
A)Used to set to alternate path(s) for user subroutine libraries.
ii)Name the environmental variable which holds the home directory of
TAFC?
A)TAFC_HOME

Das könnte Ihnen auch gefallen