Options

2=Change

Change the primary attributes of the Entry. When function key "F14=More information" is pressed on the "Change Entry" panel the extended attributes of the Entry can be changed.

3=Copy

Copy an Entry including its Formal parameters and Fields. The copy action may be to another DID-source. Any referenced data retrieval program is not copied.

4=Delete

Delete an Entry (including its Formal parameters, Fields, Subentry relations, etc.). Any referenced data retrieval program is not deleted. A window with a warning and an extra request for confirmation is displayed if the Entry is still used as a Subentry or an Alias is based on it.

5=Display

Display the primary attributes of the Entry. When function key "F14=More information" is pressed on the "Display Entry" panel the extended attributes of the Entry can be displayed.

14=Aliases

Displays the panel Work with Aliases of entry that lists all Entries that are defined as Alias of the Entry.

15=Export

Mark an Entry as available for Import in another DID-source. This changes the Export attribute of the Entry. The Export attribute of the Entry may be changed by using option "2=Change" as well. Refer to DID-sources and modularity for more information on the ideas behind and the details of the use of multiple DID-sources in one DID.

16=Fields

Displays the panel Work with Entry fields that lists all Fields of the Entry.

17=Sub entries

Displays the panel Work with Sub entries that lists all Subentries of the Entry.

18=Formals

Displays the panel Work with Formal parameters that lists all Formal parameters of the Entry.

19=Calc. Offsets

Based on the sequence numbers and field lengths the offsets of the Fields of the Entry are recalculated. The record length attribute of the Entry is set accordingly. Refer to Work with Entry fields for more information on the Fields and their attributes.

25=Generate Data retrieval

Generates the source for the data retrieval program of the Entry and compiles this to a program. Only allowed for generated Entries. Refer to Entry Creation and Generation for more information.

27=Work with Data retrieval

Starts WRKOBJPDM for the data retrieval program object in the Object library of the DID-source.

30=Linked DIDs

Displays a window listing all DIDs where the Entry is used as a Main entry.

31=Where as Sub entry

Displays a window listing all Entries where the Entry is used as a Subentry.

36=Screen fields

Displays the panel Seq. numbers screen fields PGM key retrieval that lists all Fields of the Entry. On this panel sequence numbers can be used with the Fields to indicate that they must be displayed in the key-selection window on the PC. Refer to Entry Creation and Generation for more information

61=Check re-generation of entry

Checks what will happen if the Entry would be regenerated and lists the changes in a spool file. Using function key "F4=Prompt" with the option prompts a panel on which another database file may be selected. After the results are calculated and written to a spool file this spool file is displayed. Leaving the display spooled file prompts a panel where can be indicated whether the spool file must be deleted, printed or both. Refer to Entry Creation and Generation for more information.

62=Re-generate entry

Regenerates the Entry while maintaining any Aliases and Subentry relations. Using function key F4=Prompt with the option prompts a panel on which another database file may be selected. After the Entry is regenerated the offsets of the Fields of the Entry are recalculated. Note that any manual changes to the original Entry, like previously dropped Formal parameters, need to be reapplied after regeneration. Refer to Entry Creation and Generation for more information.

There are several possibilities to control the Entries that are visible on the Work with Entries panel. Entering a value in the list selection fields or pressing one of the list selection function keys has precedence over any options entered on the subfile (they will be ignored). Both the list selection fields as the function keys act as restrictors on the items displayed: only those items that satisfy the conditions are part of the list displayed. Using one of the function keys changes the value of the "Entry kind" selection field and displays a message indicating the type of list displayed. Changing the value of the list selection fields after using one of the function keys only further restricts the Entries displayed within the restriction imposed on the list by the function key. A restriction activated by one of the function keys can only be changed by pressing one of the other list selection function keys.

List selection Name of the Entry

Only the Entries with a name that is alphabetically greater than or equal to the name entered here are part of the list.

List selection Entry kind

A blank indicates that the list is not restricted to Entries of one kind. A D indicates that only Definitions Entries are part of the list, an A restricts the list to the Alias Entries only, and an I restricts the list to only the Entries imported from another DID-source.

Function key F17=Exports

Only the Entries that are labelled for possible export to another DID-source are part of the list.

Function key F18=Non exports

Only the Entries that are not labeled for possible export to another DID-source are part of the list.

Function key F19=All entries

Both the Entries that are and that are not labeled for possible export to another DID-source are part of the list.

The primary attributes of an Entry are:

Entry name

A case sensitive name of maximal 30 characters that serves as a unique identification of the Entry inside the DID-source. This name must start with an uppercase and may not contain any blanks.

Entry type

Can be either "S" (Singular) or "P" (Plural). Singular means that the Entry is meant to retrieve at most one record from the database and must be used in a WITH construct in the Model construction language. Plural means that the Entry is meant to retrieve none, one or more records from the database and must be used in a FORALL construct in the Model construction language.
Beware that this attribute has no influence on the workings of the actual data retrieval. Refer to Entry Creation and Generation for more information.

Record length

This indicates the total number of bytes per database record that is returned to an ITP Model that uses the Entry. This equals the record length of the file unless the field definitions, field offsets or field lengths of the Entry were manually changed.

PGM data retrieval

The special value *DBMS400 or the name of an iSeries program. *DBMS400 indicates that ITP itself does the actual data retrieval when an ITP Model that uses this Entry is run. Otherwise the program indicated is called to do the data retrieval and send the data back to ITP. Refer to Entry Creation and Generation for more information.

Export

Can be either "Y" (Export) or "N" (Non export). This tag indicates whether the Entry may be imported in another DID-source or not.

Entry generation

Can be either "A" (Automatically), "M" (Manually), or blank (Automatically but changed). This tag indicates the way in which the Entry was created.

Description

A descriptive text

The extended attributes of an Entry are only used if the Entry was generated.

Generation date

The date on which the Entry was generated

Generation time

The time on which the Entry was generated

File

The name of the file the Entry was generated over

Library

The library where the file was in when the Entry was generated

Record format

The name of the record format of the file the Entry was generated over