The way Predict works can be changed to a certain extent with session parameters.
Session parameters and parameters that determine how functions work are usually set differently, depending on who uses data dictionary functions and for which purpose. Sets of parameter settings (User Defaults) can be stored in user-specific profiles. Different types of profiles are distinguished.
- Predict Profile
The Predict Profile has different sections containing a wide variety of parameters ranging from Maintenance Options to Colour Definition for colour terminals. The currently active profile is indicated in the upper right corner of Predict input screens.
- LIST XREF Profile
The LIST XREF profile allows the user to define PF-keys and the scope of the functions Report Programs and Verify All. See the section LIST XREF for Natural in the Predict Reference documentation for more information.
- Editor Profiles
Predict editors can be customized with profiles. The use of editors is described in the section Editors in Predict in the Predict Reference documentation.
This document covers the following topics:
Users documented with an object of type user in Predict can define
their own profile with the command PROFILE
, which
displays the Add User Defaults menu. A user-specific profile is created as soon
as one of the functions in the Add user profile menu has been executed
successfully. A user-specific profile is used automatically after logging on to
Predict.
Users who have not yet defined their own profile use the DEFAULT system profile. Values in the DEFAULT system profile can be changed for the current session. Changes to the DEFAULT system profile do not remain after a Predict session has been quit.
To activate the DEFAULT system profile explicitly, enter:
PROFILE SYSTEM
.
To activate the profile of another user, enter command PROFILE <user-id>.
Profiles can be modified via the Modify User Defaults menu that is displayed by entering the PROFILE command without <user-id>.
The following rules apply when changing a profile:
It is not allowed to modify the profile of another user.
Changes to a user-specific profile cannot deactivate restrictions specified in the default profile (SYSTEM) or with functions of the metadata administration. Example: if the metadata administration parameter EDIT description is set to F (force), this setting cannot be deactivated in a user profile.
Parameter settings contained in the profile sections Restrictions and Output options can be changed temporarily or permanently when using retrieval functions. See the section Retrieval in the Predict Reference documentation.
The Modify User Defaults menu offers a selection of different sections of the profile. Each section contains a different type of default. After choosing the type of default by entering one of the codes, one or several input screens are then displayed to specify the default values. All options are described in the following sections.
13:55:33 ***** P R E D I C T ***** 2009-05-31 Plan 3 - Modify User Defaults - Profile HNO Function M Maintenance options R Restrictions O Output options H Handling P PF-Keys C Colour definition Function .......... Command ===> Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12--- Help Next Stop Last LnkEl Flip Print Impl AdmFi SelFi Prof Main |
The Maintenance Options screen is called by entering code M in the Modify User Defaults screen.
16:14:14 ***** P R E D I C T ***** 2007-05-31 - Maintenance Options - Modified 2007-05-31 at 13:47 Profile ......... SYSTEM by SYSTEM Edit owner Edit description Add/Modify ............* O Optional Add/Modify .........* O Optional Copy ..................* O Optional Copy ...............* O Optional Edit default associations Edit additional attributes Add/Modify ............* O Optional Add/Modify .........* O Optional Copy ..................* O Optional Copy ...............* O Optional Workplan commands Protect extended description Position of storage ...* E End Start character ..... Add task for dummy ..... Y (Y,N) End character ....... List action .............. Y (Y,N) Purge mode ............... Y (Y,N) Full maintenance check ... N (Y,N) Current virtual machine .* HOME SQL Server ..............* For HELP enter '?' in the first field. MORE Type dependent options N (Y,N) |
General Maintenance Options | |||||||
---|---|---|---|---|---|---|---|
Edit owner, description, default child association |
The values specified in these fields are used as default values for the fields in the Additional attributes / Associations line. The Additional attributes / Associations line is displayed at the bottom of Add/Copy/Modify functions. Settings in this line determine whether the owner list, extended description or the child list of an object is to be created or changed. Example: the Additional attributes / Associations line of Add/Copy/Modify database screens looks as follows: Note:
See Forcing/Disallowing Extended Descriptions and Owner/Child Lists for a more detailed description of the concepts behind these parameters. The following values can be specified for these parameters:
Note: |
||||||
Workplan commands |
|
||||||
List action |
|
||||||
Purge mode |
The logic of the check is as follows: if a database is to be scratched, its dependent files (linked via Contains FI ) are deleted only if they are not linked to another database via Contained in DA . Similar logic applies to the scratching of systems and programs that are linked via Uses PR concept . |
||||||
Full maintenance check |
|
||||||
Protect extended description, Start character, End character | Parts of the default extended description (extended description
skeletons) can be protected by enclosing them in special characters. These
characters are defined with these parameters. See Extended Description Skeleton in the section Defaults in the Predict Administration documentation. |
||||||
Current virtual machine |
Default for the parameter Current VM. See the section Defaults in the Predict Administration documentation. This parameter is used to determine the target environment for Generate/ Incorporate/ Compare/ Administration Implementation functions. The virtual machine entered here must be linked to the current network. Enter an asterisk to display all virtual machines linked to the current network. A Default current virtual machine and the Current network can be specified in the second Miscellaneous screen of the General Defaults function. Note: The current virtual machine can also be set with the command: SET VM<virtual machine ID>. |
||||||
SQL Server | When adding or modifying the documentation of a DB2 object, the physical attributes of the object in the denoted server are offered for editing. |
Additional Maintenance Options for Files | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Modify Adabas attributes | Y With the functions Add/Copy/Modify file for files of type A or U, the parameter Additional attributes is set to Y. |
||||||||||||||
Additional Maintenance Options for Fields | |||||||||||||||
Automatic Adabas names | Y Predict automatically generates Adabas names for fields that are added to the data dictionary. |
||||||||||||||
Automatic null value | Y Predict automatically sets suppression/null value options for fields that are added to the dictionary. The value depends on the type of file: |
||||||||||||||
|
|||||||||||||||
Note: |
|||||||||||||||
Copy description |
|
||||||||||||||
Ripple abstract |
This option defines whether the abstract of a field object is rippled, i.e., whether changes to the abstract of a field are pulled forward from a physical file to a userview. Valid values: See Rippling in the section File of the Predefined Object Types in Predict documentation. |
||||||||||||||
List rippling | Y Messages are displayed at the terminal whenever rippling is performed. |
||||||||||||||
File for select | Fields to be linked to a file can be selected from an existing field list by using the SEL command in Link children. The File for select parameter is then used as default setting for the Belongs to FI parameter. |
The restrictions screen is called by entering R in the Modify User Defaults Menu. The valid parameters are described in the section Restrictions.
General output options applying to all object types are specified in the first screen.
For a detailed description see Output Options Valid For All Objects in the section Retrieval in the Predict Reference documentation.
Output options for specific object types can be defined in subsequent screens be entering Y in the field MORE Type dependent options. For a detailed description see Type-specific Output Options in the section Retrieval in the Predict Reference documentation.
See also Using Restrictions and Output Options from Profiles in the section Retrieval in the Predict Reference documentation for the different ways of using output options.
15:59:56 ***** P R E D I C T ***** 2009-07-31 - Output options - Added 2008-09-25 at 11:13 Profile ......... SYSTEM Modified 2009-07-21 at 11:56 Current related Current and object object related object Type independent Type independent Description ....... Y (Y,N) Y Association attr. .* Y No. abstract lines 16 (0-16) 16 Mark implementation N (Y,N) Keywords .......... 24 (0-32) 24 Show implementation Y (Y,N) Extracts .......... 32 (0-32) 32 Display modifier ... N (Y,N) Owners ............ 99 (0-99) 99 Connecting character : with users .....* Y Y Cover page ......... N (Y,N) Attributes ........ Y (Y,N) Y Page size .......... 60 Dummy/Placeholder * D Y Miscellaneous Conform options Web Service usage . Y (Y,N) Use Conform ........ N (Y,N) Predict header ... N (Y,N) User FPROFILE .... N (Y,N) List error message N (Y,N) For HELP enter '?' in the first field. MORE Type dependent options: N |
Additional Output Options for Field | |
---|---|
Composed fields |
|
3GL specification |
Gr.structur, Justify, Synchronized, Init. value, Indexed by, Depending on, Condition name and Condition value. |
DV-field expression |
|
Natural options |
|
Sorted by field |
For a detailed description of this parameter see Sorting Fields and Files in the section Field in the Predefined Object Types in Predict documentation. |
Synonyms |
Display language-specific synonyms of field IDs. |
Display length |
Format in which the length of fields is displayed: |
Additional Output Option for Database | |
Adabas sizes |
|
Additional Output Options for Program | |
Entry points |
|
Procedure call |
|
Additional Output Option for Verification | |
Rules |
|
13:09:01 ***** P R E D I C T ***** 2007-05-31 - Handling - Modified 2007-05-31 at 13:06 Profile ......... HNO by HNO Display first screen (logo screen) ....... N (Y,N) Menu type ...............................* F Function Main Menu Use as editor (first choice) ............* S Software AG Editor (second choice) ...........* C Natural Editor (third choice) ............* (none) Additional parameters for Word for Windows Download PC part ..................... N Entire Connection task name .......... Predict Word for Windows directory (Directory must end with backslash) .. C:\PREDICT\ - Stay after modify Documentation objects .................. Y (Y,N) External objects ....................... N (Y,N) Special function ....................... N (Y,N) Menu ................................... N (Y,N) For HELP enter '?' in the first field. |
Handling Defaults | |
---|---|
Display first screen (logo screen) |
|
Menu type |
Predict offers three different main menus. The default menu can be chosen by entering one of the following codes: |
Use as editor (first, second, third choice) |
Definition of the editor to be called. Up to three preferences are possible. At least one editor must be specified. The editor actually used depends on the environment from which the editor is called. Note: |
Additional parameters for Word for Windows | |
Download PC part |
See Maintaining Extended Descriptions with Word for Windows in the section Editors in Predict in the Predict Reference documentation for more information. |
Entire Connection task name | The name of a task defined in Entire Connection. See the Entire Connection documentation for detailed information on tasks. |
Predict Word for Windows directory |
Enter here the drive and directory to which the template file PRD.DOT of the Predict-Winword interface is to be loaded. See Maintaining Extended Descriptions with Word for Windows in the section Editors in Predict in the Predict Reference documentation for more information. |
Stay after modify |
This option can be set differently for documentation objects, external objects or special function menus. If Y is specified in the field Menu, the setting of Stay after modify applies to all kinds of object types and functions. |
PF keys can be assigned in two screens. If applicable, the assignments are also valid in other Predict applications (SYSDICBE, SYSDICCO, SYSDICMA). Change definitions by simply overwriting them.
13:35:33 ***** P R E D I C T ***** 2007-05-31 - PF-Keys - Modified 2007-05-31 at 13:20 Profile ......... HNO by HNO Text PF-nr Function Help 1 CMD ?? Menu 2 MENU Canc 3 STOP S-fi 4 CMD SELECT FILE E-el 5 CMD EDIT ELEMENT M-pr 6 CMD MAINTAIN PROGRAM Print 7 +H Impl 8 CMD IMPLEMENT FILE Last 9 CMD LAST FLIP 10 +YL PROF 11 CMD PROFILE Next 12 CMD NEXT Use '+' as control character for assigning Natural terminal commands to PF-KEYS (e.g. +H for hard copy) For HELP enter '?' in the first input field. |
Parameters | |
---|---|
Text | Up to 5 characters can be specified as text that is displayed in the PF key line. |
Pf-nr | PF key number. |
Function | Command to be triggered by the PF key. The following commands can be assigned to PF keys. |
STOP | Backs out the current transaction, cancels successive actions and returns (normally) to the last menu that was active. Under some circumstances, it may return to the Predict Main Menu. |
CMD MAIN | Returns control to the main menu without resetting the session variables. |
CMD MENU | Resets all session variables (file name, owner ID, etc.). It then returns control to the main menu. |
CMD xyz | CMD calls the Predict command processor. This program is executed with the parameter xyz, which is any valid Predict command. Predict commands can be abbreviated. |
+x (Terminal Command) | The plus sign (+) is substituted for the leading percent sign (%) in Natural terminal commands such as "%H". |
B-CMD xyz | The command processor of the Predict Coordinator. This program is executed with the parameter xyz, which is any valid Predict command. Abbreviations may be used as required. |
The colours used for the different types of output on colour terminals can be changed with this screen.
13:42:23 ***** P R E D I C T ***** 2007-05-31 - Colour Definition - Modified 2007-05-31 at 13:20 Profile ......... HNO by HNO Colour Definition - Valid Colours - Normal output ....... TU BL Blue Intense output ...... YE GR Green Normal input ........ RE NE Neutral Intense input ....... NE PI Pink RE Red TU Turquoise YE Yellow For HELP enter '?' in the first field. |