DEFINITION:SCREEN DICTIONARY
path: CATEGORY:NUWIKI > MODIFIER:@ > MODIFIER:ID-SUPP > NUWIKI > DEFINITION:SCREEN DICTIONARY

Screen Dictionary

Screen Dictionaries or Field Controls are used in the Nucleus environment to encapsulate business rules.

Screen dictionaries are a super-set of standard DATA dictionaries including triggers which encapsulate data objects and their associated properties within a Nucleus rule-set.

Screen Dictionaries:

  • Extend the scope of field property definitions.
  • Reserved for use exclusively by screens, rules and report definitions.
  • Do NOT step on existing DATA dictionaries.
  • Will NOT impact definitions used in QUERY / ACCESS / RETREIVE / ENGLISH ACCESS reporting.
  • Also known as Field definitions

Screen dictionaries associate Properties with objects. Labels, field widths, color attributes, special validations, and other properties exist independently of the DATA dicts and access definitions.

Maintaining a separate set of screen dictionaries ensures the integrity of dictionary definitions used in system PROC's, ACCESS statements and VOC entries.

Screen dictionaries reside in the numerous data areas of the SCRDICTS file.

Creating SCRDICTS Data Area

Using WINMAINT to create a Nucleus Screen or ruleset, if the SCRDICTS,screenname DATA area does notexist, Nucleus will automatically create it.

The appropriate data area under the SCRDICTS file is created based on the system type.
The data area is created as if one were to type:

  CREATE-FILE DATA SCRDICTS,screenname MODULO

Screen Dictionary Definition and Maintenance

Screen Dictionaries are initially created when WINMAINT is used to define the first group of field names that will be part of a Nucleus screen.

Screen Dictionaries are automatically created from existing DATA Dictionaries when a jump occurs from the screen script to modify the screen dictionaries, and then filing the item.

Screen Dictionaries can be maintained using any of the following options:

  • Selecting the Screen Dictionaries option using WINMAINT
  • When using WINMAINT, by a Jump from the Nucleus script
  • From the Nucleus shell, by issuing the command: INPUTDEF ScreenName and then either entering the name of the screen dictionary, or searching and then selecting the appropriate screen dictionary.

Deleting Screen dictionary Items

In order to delete an entry in the screen dictionary for a screen, it is necessary to have an entry in the DICT of SCRDICTS for DELETEOK

If the DELETEOK item exists within the DICT of SCRDICTS, either jump into the screen dictionary from the Nucleus script, or from WINMAINT, select Script Dictionary and then search for or enter the name of the screen dictionary you wish to delete. Once the item is on the screen, press Exit and then select the Delete option from the command bar. A prompt will appear, Delete Item, are you sure. Answering Yes, will delete the item.

See also