You are on page 1of 6

Synon - 2E Evaluation

Section A Database Design Features of 2E


Number 1 Question Which 2E relations cause the definition of a) Super-ordinate Keys, and b) Foreign Keys?

How would you access the For Text within the model, which relations can you use it with, and what is it used for?

How would you cause the model to use a different field on a Refers To without using For Text?

If there are multiple Refers To relations that point to the same file within a given entity what are the additional considerations you need to give during modelling?

What methods do you have for implementing Key Sharing?

What is the use of the Qualified By relation on a file? What options do you have with the Sharing option, and with what impact?

What is an Assimilated Physical file? What steps would you take to preserve the order of fields on the Physical after relations had been applied within the model?

What option is available to automatically assign sequence numbers to the relations on the Edit Database relations screen?

Section B - Access Path features of 2E


Number 1 Question Describe the types of maintenance available for an Access path and explain how and when they should be implemented.

Explain the difference between Static and Dynamic selection on and Access Path. If selection is required, explain how you would determine which should be used.

What options are available for handling the sequence of records on an Access Path where duplicate keys are allowed?

Why would one consider trimming virtuals from an Access Path, and how would it be done?

Which 2E functions can use a QRY Access Path and how is it implemented?

How on an Access Path would you control which function is called when F4 or ? is pressed on a field which is present due to a file-to-file relation?

What is a Span Access Path, with which functions can it be used, and how is it implemented?

How would you determine the usage of an Access path within a 2E Model, and what method would you use for submitting dependant functions for regeneration if the Access Path changed?

What does it mean when two fields with the same attributes do not have the same domain? Why are domains important?

10

How can you set a default value to be applied to a field when a record is added to the database? How can you load that from a data area?

Section C - Function Construction within 2E


Number 1 Question What does Reclaim resources function option do? Where would you expect to see this in a typical application?

How is the Close down program function option implemented, and why should it be used? What are the typical considerations you would give to using this option?

How would you get a message subfile to be displayed on the screens of your 2E generated functions?

What are the main differences between a function with a commitment control options of *Master, *Slave and *None?

What are the various roles that parameter can be specified as having?

What is the difference between RST and POS type parameters on a RTVOBJ?

Why should you not use WRK contexts within a program? and briefly describe NLL and LCL contexts?

How would you get an EDTFIL function to only update records if they have actually changed, rather than the CHGOBJ being issued for every record?

How would you cause a PRTFIL to have its output to overflow at line 40 and allow 198 characters in width? How would you cause the text for a value of status field to

10

Number

Question appear on display next to the status field itself?

11

What code is required to indicate that a field is in error on the device design of a function?

12

How would you enable DSPFLs etc. to have more than one line of command key text / options text? How would you get F23 to toggle additional command key text, and where would this text be stored?

13

How would you change the default Company Name displayed at the top of default screens and reports, and how would you change its colour?

14

What is the effect of using a *QUIT statement within an Action Diagram?

15

How is a section of code deactivated without removing it from an action diagram?

16

How can you force a subroutine within a 2E function?

17

Explain how a subset of fields can be updated on a file.

18

In 2E how would you cause some manually written RPG (or COBOL) code to be executed in-line within 2E function? What consideration should be given to any parameters which are passed?

19

What is a message of type EXC and for what purpose is it

Number

Question used?

20

How would you construct a string of words and values into form which could be printed on a letter, e.g. Please pay 10.00 during the next 5 weeks, where the numbers are variables?

21

Basically, how are arrays implemented within 2E?

22

Why would you set the field PGM.*Re-read Subfile Record to *Yes?

23

How would you obtain the date 30 days from another date, and how would you display which day of the week it was?

24

File X refers To File Y. A record cannot be deleted from File Y if there are any references to it in File X. What code is required to prevent the deletion and where should it be implemented?

25

What are the advantages/disadvantages of using 2E arrays verses work files?

You might also like