If Additional Attributes is set to Y, a window is displayed which contains the following additional attributes for selection:
Description
A description of the program can be entered.
Owner
The owner of the program can be entered.
Class definition
See Programs of Type
Class.
Resource definition
See Programs of Type
Resource.
Database function options
See Programs of Type
Database function.
Procedure options
See Programs of
Type SQL Procedure.
Entry points
Entry points are to be modified. This is valid only for programs
written in certain languages. See
Overview of
Language-Specific Program Types.
SQL procedure code
Only for programs of type R and language S. The SQL Procedure
Editor is called.
The following rules apply:
Only those types of additional attributes appear in the window that apply to the type of program. For example: the option Class definition is not contained in the list when a program of type Resource is processed.
More than one choice can be made at a time. The respective input maps are then displayed one after the other.
This document covers the following topics:
13:33:43 ***** P R E D I C T ***** 2007-05-31 - Modify Program - Program ID ...... HNO-CLASS Modified 2007-05-31 at 13:31 by HEB Class definition Name ............. GUID ............. Version .......... * Additional attributes ..* N * Associations ..* N |
Parameters | |
---|---|
Class definition | |
Name | The name of the class. |
GUID | The globally unique ID of the class. |
Version | The version number of the class. |
17:45:19 ***** P R E D I C T ***** 2007-05-31 - Modify Program - Program ID ...... HNO-PR Added 2007-05-31 at 17:39 by HNO Resource definition File name ........ Library .......... User system Fnr .. User system DBnr . Additional attributes ..* S Associations ..* N |
Parameters | |
---|---|
Resource definition | |
File name | File name documented by the Predict program. |
Library | The name of the library in which the file name is stored. |
User System Fnr | The number of the user system file. |
User System DBnr | The number of the database in which the user system file is located. |
The type of Resource can be documented in the language field of a Predict program object. There is a user exit program U-PGMLAN that allows dynamic extension of possible languages in each installation.
14:51:00 ***** P R E D I C T ***** 2009-07-31 - Add a Program - Program ID ...... SQL-PROC Added 2009-06-10 at 14:50 Modified Procedure option Procedure name .. Physical attributes in DADB29 (new) Schema name ..... Specific name ... Collection .....* (none) Parameter style * (none) WLM environment * (none) Parameter CCSID * E EBCDIC Dyn. result set . 2 Spec. register .* (none) Deterministic ... N (Y,N) Fenced .........* Y Fenced Null input ...... Y (Y,N) SQL data .......* R Reads SQL data DB info ......... N (Y,N) Asutime ......... Stay resident ... N (Y,N) Program type ...* (none) Security .......* D DB2 Commit .......... (Y,N) After failure ..* D Stop (system defau Debug mode .....* I Disable Run options ..... run prcc ccsid E failure D * Zoom: N Packagepath ....* (none) Zoom: N * Additional attributes ..* S Associations ..* N |
Parameters | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Procedure name | This name must comply with SQL naming conventions. See the section Naming Conventions for SQL Objects in the section Adabas D and Other SQL Systems in the Predict and Other Systems documentation. | ||||||||||||
Schema name | Used as a qualifier for an unqualified procedure name. | ||||||||||||
Specific name | Specifies a unique name for the procedure. | ||||||||||||
Collection |
|
||||||||||||
WLM environment | Identifies the MVS workload manager application environment. | ||||||||||||
Dyn. result set | Specifies the maximum number of query result sets that the stored procedure can run. | ||||||||||||
Deterministic |
|
||||||||||||
Null input |
|
||||||||||||
DB info |
|
||||||||||||
Stay resident | Specifies whether the load module for the procedure remains resident in memory when the procedure ends. | ||||||||||||
Security |
|
||||||||||||
After failure |
|
||||||||||||
Run options | Specifies the language environment run-time options to be used for the procedure. | ||||||||||||
Packagepath |
|
||||||||||||
Parameter style |
|
||||||||||||
Parameter CCSID |
|
||||||||||||
Spec. register |
|
||||||||||||
Fenced |
|
||||||||||||
SQL data |
|
||||||||||||
Asutime | Specifies the total amount of processor time. | ||||||||||||
Program type |
|
||||||||||||
Commit |
|
||||||||||||
Debug Mode |
|
14:24:06 ***** P R E D I C T ***** 2009-07-31 - Modify Program - Program ID ...... HIB-R-S-GEN-NATIVE Added 2009-07-07 at 13:19 Modified 2009-07-10 at 15:17 Physical attributes in DADB29 Native .......... Y (Y,N) Version ......... V29 Zoom: N Package owner ... Owner Release at .....* (none) Prepare ........* D Defer REOPT ..........* (none) Current data .... (Y,N) Validate .......* (none) Degree ........ * (none) Rounding .......* (none) Dynamic rules ..* (none) Date format ....* (none) Appl. encoding .* (none) Decimal ........* Explain ......... (Y,N) For update .....* (none) Immediate write . (Y,N) Time format ....* (none) Isolation level * (none) Keep dynamic .... (Y,N) Optimiz. hints .. opt 29 ------------------------------------------ * Zoom: N SQL path ........ path 29 * Zoom: N * Additional attributes ..* S Associations ..* N |
Valid values are:
Parameters | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Native |
|
||||||||||||||||||
Version | Specifies the procedure version identifier. The default is V1. | ||||||||||||||||||
Package owner | Specifies the owner of the package. | ||||||||||||||||||
Prepare |
|
||||||||||||||||||
Current data |
|
||||||||||||||||||
Degree |
|
||||||||||||||||||
Dynamic rules |
|
||||||||||||||||||
Appl. encoding |
|
||||||||||||||||||
Explain |
|
||||||||||||||||||
Immediate write |
|
||||||||||||||||||
Isolation level |
|
||||||||||||||||||
Keep dynamic |
|
||||||||||||||||||
Optimiz. hints | Specifies query optimization hints. | ||||||||||||||||||
SQL path | Specifies the SQL path. | ||||||||||||||||||
Release at |
|
||||||||||||||||||
REOPT |
|
||||||||||||||||||
Validate |
|
||||||||||||||||||
Rounding |
|
||||||||||||||||||
Date format |
|
||||||||||||||||||
Decimal |
|
||||||||||||||||||
For update |
|
||||||||||||||||||
Time format |
|
14:56:35 ***** P R E D I C T ***** 2009-07-31 - Add a Program - Program ID ...... HNO-FUNC Added 2009-06-10 at 14:56 Modified Function option Function name ... Physical attributes in DADB29 (new) Function type ..* S Scalar Schema name ..... Specific name ... Collection .....* After failure .* (none) WLM environment . Style .........* (none) Spec. register .* (none) CCSID .........* A ASCII Deterministic ... N (Y,N) Fenced ........* (none) Null input ...... (Y,N) SQL data ......* N No SQL External action . Y (Y,N) Scratchpad ..... Final call ...... (Y,N) Allow parallel . (Y,N) DB info ......... (Y,N) Cardinality .... Asutime ......... Stay resident .. (Y,N) Program type ...* (none) Security ......* (none) Run options ..... Zoom: N Packagepath ....* Zoom: N * Additional attributes ..* S Associations ..* N |
Parameters | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Function name | This name must comply with SQL naming conventions. See the section Naming Conventions for SQL Objects in the section Adabas D and Other SQL Systems in the Predict and Other Systems documentation. | ||||||||||||
Function type |
|
||||||||||||
Schema name | Used as qualifier for an unqualified function name. | ||||||||||||
Specific name | Specifies an unique name for the function. | ||||||||||||
Collection |
|
||||||||||||
WLM environment | Identifies the MVS workload manager application environment. | ||||||||||||
Spec. register |
|
||||||||||||
Deterministic |
|
||||||||||||
Null input |
|
||||||||||||
External action |
|
||||||||||||
Final call |
|
||||||||||||
DB info |
|
||||||||||||
Asutime | Specifies the total amount of processor time. | ||||||||||||
Program type |
|
||||||||||||
Run options | Specifies the language environment run-time options to be used for the function. | ||||||||||||
Packagepath |
|
||||||||||||
After failure |
|
||||||||||||
Style |
|
||||||||||||
CCSID |
|
||||||||||||
Fenced |
|
||||||||||||
SQL data |
|
||||||||||||
Scratchpad | Specifies whether DB2 provides a scratchpad for the function. | ||||||||||||
Allow parallel |
|
||||||||||||
Cardinality | Specifies an estimate of the expected number of rows that the function returns. | ||||||||||||
Stay resident | Specifies whether the load module for the function remains resident in memory when the function ends. | ||||||||||||
Security |
|
Programs that are only available as object code and hence have no language are documented with programs of type E (external object) and language Z (system program). Predict creates XRef data for these so called system programs because neither the preprocessor nor Natural can create XRef data for object code.
The implementation pointer for a system program has to be specified explicitly. One entry point (with the ID of the program object) is created by Predict, additional entry points have to be specified manually.
Programs of type dynamic are used to document calls of programs of the same name from different steplibs depending on the library structure. The following rules apply:
Because programs of type dynamic document any number of implemented members, no check is performed as to whether the members documented by the program are actually implemented.
With the active retrieval function Programs using programs, programs of type dynamic are ignored as current objects.
Programs of this type can only have children for association "Uses PR concept".