100% found this document useful (1 vote)
4K views

Synon Interview Questions

This document discusses several topics related to display file design in SYNON: 1) It explains how to define the tab sequence from the screen formats by pressing F10 and how roles like MAP are used. 2) It describes how to access screen and printer file design through action diagram and function T. 3) It provides details on how to set fields as optional or required using F7 and option O or R on the screen format relations. 4) It defines what a virtual field is and how it can be used to display related details from another file on an interactive display panel.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
4K views

Synon Interview Questions

This document discusses several topics related to display file design in SYNON: 1) It explains how to define the tab sequence from the screen formats by pressing F10 and how roles like MAP are used. 2) It describes how to access screen and printer file design through action diagram and function T. 3) It provides details on how to set fields as optional or required using F7 and option O or R on the screen format relations. 4) It defines what a virtual field is and how it can be used to display related details from another file on an interactive display panel.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

How to define tab sequence in SYNON display file design?

From action diagram, take F17 (display screen formats) to go the screen formats, take Z (edit screen
format details), press F10 (Sequence)
From here, we can define the display sequence and also the tab sequence
What is the use of MAP role?
The roles of parameter
a) Position is equal to setll in RPG
b) Restrict is equal to CHAIN & READE opcode in RPG
c) Vary the length will be vary when you call user written program
d) Map it map the attribute and lengths of the target field

How do u access the screen and printer file design?
Display file:
From action diagram, take F17 (display screen formats) to go the screen formats
Print File:
T on the function will show the edit device structure screen

How to set a field as optional or required?
From the screen format, press F7. This displays Edit screen format relations. By taking option O or
R against the field, we can make the field as optional or required.
By default all the fields are Required fields.

What is virtual field?
Virtual fields are logically present in one file and physically present in another file. This is valid only
for OWNED BYand REFERS TO relation types. Following relations can have virtual fields.

Let us assume, there are two files A and B, A and B are related by owned by relationship. If user is
creating an interactive display panel based on file B and he thinks that it would be informative, if
some related details from A is also displayed in the screen. In this case we go for virtual field. We can
add the required field as virtual field by selecting option V against the access path on which the
display file is placed.

Basically, this is to combine two tables and treat it as a single table. SPN access path is created by
using virtual fields.

What are the uses of Owned by relation?
It creates a parent child relationship between file, data integrity is achieved by this way.

How to apply multiple color for fields on display file?

Here is how to achieve multiple colors for fields on display file.

1. From EDIT Screen Entry details press F11=Entry User Source. You will be presented with the
Attached Device Functions panel.
2. Press F9=Attach function. You will get Attach Device Function prompt.
3. Select the file you want to attach your function to.
4. Add a function of type EXCUSRSRC to the file.
5. Select the newly created function.
6. Note the name of the device field you want to change the color of.
7. Go to the device user source and change the source type to DDS (I think it still creates it as RPG).
8. Add the following to your DEVUSRSRC.
) FIND TEXT=#RAATX
) INSERT
00000A 67 COLOR(YLW)
00000A 68 COLOR(RED)
where #RAATX is the DDS name of the field that you want to add the color to.
9. In your program you need to set the indicators that condition the colors.

You might also like