You are on page 1of 5

SYNON

1. Types of File relations?


Defined as
Owned by
Refers to
Extended by
Includes

2. Types of file to field relation?

Known by
Qualified by
Has

3. How many types of file are available in synon/2e?


Reference file (Master file)
Capture file (Transaction file)
Structure file (Field reference file)

4. Types of Accesspath
Physical, Update, Retrieval, Resequence, Query, Span.

5. Built in Functions available in Synon


*ADD, *COMMIT, *COMPUTE, *MOVE, *MULT, *QUIT, *DIV, *CONCAT, *SUBSTRING
etc.,

5. Types of Objects in Synon


CRT, CHG, DLT, SLTRCD, EDTRCD

6. Virtual Field
It is logically present in many files but physically present only in one file.

7. If you want to avoid system performance Degradation due to


Virutalization. What will you do?

Transaction file might contain many Virtual fields. So while opening the transaction file it might take
sometime, as all the records in the virtual field as to be dumped into the transaction file. So we need to
minimize the use of Virtual field.
8. In Data Modeling what is the effect when we give *None or *All for
Sharing.

When we give *All for Sharing - If same fields exists in both the files. Declaring the fields and its
attributes in one file is enough.

When we give *None for Sharing - If same fields exists in both the files. Declaring the fields in one
file is enough. But attributes as to be defined separately

9. What will happen when you hide, drop a field?

Drop – Field is not used.


Hide – Field is not visible to the user. We can access at any point of time.

10.Type of EDTRCD
Edit record (1 screen)
Edit record (2 screen)
Edit record (3 screen)

11.What is Assimilation?

Process of retrieving existing externally described OS/400 file definitions into SYNON/2E design
model.
The Command is YRTVPFMDL

12. What is differentiation?


The process in data-modeling of creating new entities by splitting a current entity into two separate
entities.

13. What are the functions created by default for a REF file

CHGOBJ, CRTOBJ, DLTOBJ, EDTFIL & SELRCD

14.Difference between EXCEXTFUN and EXCINTFUN

Execute external functions  allows to specify a high level program using an action diagram.
Implemented as separate program and has its own action diagram. Parameter of VRY is allowed.

Execute internal functions allows to specify a portion of an action diagram for repeated use in other
functions.
15.Does a RTVOBJ have to be coded before a DLTOBJ

No

16.Does an EDTFIL automatically read the database file it is built


over?

Yes

17.Does a PMTRCD automatically read the database file it is built


over?

No

18.Difference between EDTTRN and EDTFIL

EDTTRN – Loads an entire subfile.


EDTFIL - Only loads one page of a subfile at a time.

19.Name the Access paths which are created automatically for every
REF or CPT file

Physical Access path


Update Access path
Retrieval Access path

20.What are two ways to define a Select/Omit access path?

Dynamic & Static

21.What does ICF do on an action diagram line?

Insert a case statement and prompt.

22.What are the roles a parameter can take

RST, POS, MAP, VRY

23.What are different types of context


DB Context: DB1 & DB2
Device contexts: CTL, RCD, DTL, 2ND, 3RD, CUR, NXT, KEY
System contexts: JOB, PGM
Program contexts: PAR, WRK
Literal contexts: CON, CND
24.What is RTVMSG?
The RTVMSG function returns a message to the calling program. Using the message text we can
perform any number of process such as moving a character string from a database file into a field.

25.What is EXCMSG?
This function specifies that a request message is to be executed. The request may be any CL, OS/2 or
Unix command.

26. Various data types available in Synon/2E


CDE, NBR, PCT, REF, STS, TXT, VAL, VNM, DTE, NAR, QTY, TME, IGC, SGT, PRC

27.Object types in Synon


File, Relation, Condition, Function & Access path

28.How will you Submit a Batch job in Synon


Using EXCMSG

29.Various message functions available


EXCMSG, RTVMSG, SNDCMPMSG, SNDERRMSG, SNDINFMSG, SNDSTSMSG

30.How can more than one user log on the model as Designer at the
same time?
a.

You have to de-allocate the Data Area YMDLLIBRFA, once you logged in as designer

31 . How can I execute an existing program from within a Synon AD?


A. Use one of the following statements:
 EXCUSRSRC
 EXCUSRPGM

You might also like