HR Writer Compute Statements
Contains the compute statements used with the HR Writer Report Request. HR67.1 (HR Writer Compute Statements) is the primary program that updates this file.
REFERENCED BY
HR60.1 | HR65.2 | HR65.3 | HR170 | HR70.1 | HR70.2 |
HR70.3 |
HR67.1 |
FIELD NAME | DESCRIPTION/VALID VALUES | UPDATED BY | ||
---|---|---|---|---|
PWC-AUTHOR-NAME Element: Author | Alpha 10 Contains the author responsible for this compute statement. The author name must be defined in the Author file. |
|
||
PWC-COLUMN-NAME Element: Compute Name | Alpha 20 (Lower Case) Contains the compute statement name that is listed under the topic CM in HR65.2 (HR Writer Format Item Selection). |
|
||
PWC-COMPUTE-NBR Element: Compute Nbr | Numeric 4 Contains the sequence number of the compute statement. A compute number is automatically assigned in sequential order by author. |
|
||
PWC-FLD-NBR1 Element: Item | Numeric 4 Contains the item number if the first factor of the compute statement is a data dictionary item. |
|
||
PWC-TOPIC1 Element: Topic1 | Alpha 2 Contains the topic with which the first selected item in the compute statement is associated. |
|
||
PWC-DB-FILE1 Element: Db File1 | Alpha 3 Contains the file prefix of the item if the first factor of the compute statement is a data dictionary item. |
|
||
PWC-CONSTANT1 Element: Value | Signed 11.4 Contains the value of the constant if the first factor of the compute statement is a constant. |
|
||
PWC-COLUMN1 Element: Column Heading 1 | Numeric 2 Contains the column used if the first factor of the compute statement is one of the columns defined in the report. 01 15 |
|
||
PWC-SIZE1 Element: Size1 | Numeric 2 Contains the size of the item if the first factor of the compute statement is a data dictionary item. |
|
||
PWC-DECIMALS1 Element: Decimals1 | Numeric 1 Contains the number of decimal places for the item if the first factor of the compute statement is a data dictionary item. |
|
||
PWC-PRT-TYPE1 Element: Prt Type1 | Alpha 1 Contains the item's print type if the first factor of the compute statement is a data dictionary item. |
|
||
PWC-OPER1 Element: Operator 1 | Alpha 1 Contains the mathematical operation performed on factors 1 and 2. * = Multiply + = Add - = Subtract / = Divide |
|
||
PWC-FLD-NBR2 Element: Item | Numeric 4 Contains the item number if the second factor of the compute statement is a data dictionary item. |
|
||
PWC-TOPIC2 Element: Topic2 | Alpha 2 Contains the topic with which the second selected item in the compute statement is associated. |
|
||
PWC-DB-FILE2 Element: Db File2 | Alpha 3 Contains the file prefix of the item if the second factor of the compute statement is a data dictionary item. |
|
||
PWC-CONSTANT2 Element: Value | Signed 11.4 Contains the value of the constant if the second factor of the compute statement is a constant. |
|
||
PWC-COLUMN2 Element: Column Heading 2 | Numeric 2 Contains the column used if the second factor of the compute statement is one of the columns defined in the report. 01 15 |
|
||
PWC-SIZE2 Element: Size2 | Numeric 2 Contains the size of the item if the second factor of the compute statement is a data dictionary item. |
|
||
PWC-DECIMALS2 Element: Decimals2 | Numeric 1 Contains the number of decimal places for the item if the second factor of the compute statement is a data dictionary item. |
|
||
PWC-PRT-TYPE2 Element: Prt Type2 | Alpha 1 Contains the item's print type if the second factor of the compute statement is a data dictionary item. (See the description of the HR Systems Data Dictionary file for information regarding print type.) |
|
||
PWC-OPER2 Element: Operator 2 | Alpha 1 Contains the mathematical operation performed on factors 2 and 3. * = Multiply + = Add - = Subtract / = Divide |
|
||
PWC-FLD-NBR3 Element: Item | Numeric 4 Contains the item number if the third factor of the compute statement is a data dictionary item. |
|
||
PWC-TOPIC3 Element: Topic3 | Alpha 2 Contains the topic with which the third selected data item for the compute statement is associated. |
|
||
PWC-DB-FILE3 Element: Db File3 | Alpha 3 Contains the file prefix of the item if the third factor of the compute statement is a dictionary item. |
|
||
PWC-CONSTANT3 Element: Value | Signed 11.4 Contains the value of the constant if the third factor of the compute statement is a constant. |
|
||
PWC-COLUMN3 Element: Column Heading 3 | Numeric 2 Contains the column used if the third factor of the compute statement is one of the columns defined in the report. 01 15 |
|
||
PWC-SIZE3 Element: Size3 | Numeric 2 Contains the size of the item if the third factor of the compute statement is a dictionary item. |
|
||
PWC-DECIMALS3 Element: Decimals3 | Numeric 1 Contains the number of decimal places for the item if the third factor of the compute statement is a data dictionary item. |
|
||
PWC-PRT-TYPE3 Element: Prt Type3 | Alpha 1 Contains the item's print type if the third factor of the compute statement is a data dictionary item. (See the description of the HR Systems Data Dictionary file for information regarding print type.) |
|
||
PWC-HEADING Element: Heading | Alpha 15 (Lower Case) Occurs 2 Times Contains the user-defined column heading for the compute statement. You can enter up to two lines of text. |
|
||
PWC-HEADER-SIZE Element: Header Size | Numeric 2 Contains the number of characters in the largest header. |
|
||
PWC-FIRST-OPER Element: First Operator | Numeric 1 Identifies the mathematical operation that is performed first if the compute statement includes 2 operations. |
|
||
PWC-MIN-SIZE Element: Min Size | Numeric 2 Contains the minimum field size. The column header defined for the field determines the minimum field size which is used to edit the minimum field sizes in HR65.3 (HR Writer Format Item Order). |
|
NAME | KEY FIELDS | DESCRIPTION / SUBSET CONDITION | USED IN | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PWCSET1 |
AUTHOR-NAME COLUMN-NAME |
|
| ||||||||||||
PWCSET2 |
AUTHOR-NAME COMPUTE-NBR |
|
|
RELATION NAME |
RELATED FILE | INTEGRITY RULES / FIELD MATCH | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Author | PWAUTHOR |
Required
| |||||||||
Item Nbr1 | PADICT |
Required
| |||||||||
Item Nbr2 | PADICT |
Required
| |||||||||
Item Nbr3 | PADICT |
Required
|
All trademarks and registered trademarks are the property of their
respective owners.