HP 3000 Manuals

Real Item Edits Screen [ HP ALLBASE/BRW Reference Manual ] MPE/iX 5.0 Documentation


HP ALLBASE/BRW Reference Manual

Real Item Edits Screen 

Use the Real Item Edits screen to specify how Real item values are edited
before being printed in a report.

[]
To specify a Real item edit 1. Use the Prev/Next Item or the Select Item function key to access a different item. 2. Type the item edit definition for the item. See the Field Descriptions section for details on each field. 3. Press Enter. Banner Line The banner line (at the top of the screen) shows in which lineset the current item is positioned. Field Descriptions Item Display. The current item. Line/position Display. The line and print field position of the item. Length Optional. The print field length defined for this item on the Define Lines screen. You can optionally change the length for this item. Format Optional. Format for Real numbers. Real numbers do not use edit-masks, as do integers and numeric items. However, you can print real numbers in a variety of formats as shown on the next table. --------------------------------------------------------------------------------- | | | Dw.d w = field including signs, decimal point, exponent character | | width D, and d digits. | | | | d = number The value will be printed with a decimal point | | of digits preceding all digits. For example: | | | | Format D10.4 (width 10, digits 4) | | | | Value Output | | | | -12.342 -.1234D+02 | | | | 999.99 .1000D+04 | | | | Ew.d w = field including signs, decimal point, exponent character | | width E, and d digits. | | | | d = number The value will be printed with a decimal point | | of digits preceding all digits. For example: | | | | Format E10.4 (width 10, digits 4) | | | | Value Output | | | | -12.342 -.1234E+02 | | | | 999.99 .1000E+04 | | | | Fw.d w = field including sign and decimal point. | | width | | | | d = number The value will be printed in fixed point format | | of decimals with d decimal places. For example: | | | | Format F6.3 (width 6, decimals 3) | | | | Value Output | | | | -5.667914 -5.668 | | | --------------------------------------------------------------------------------- Table 16-0. (cont.) --------------------------------------------------------------------------------- | Gw.d w = field | | width | | | | d = number The value is printed using E format if its absolute | | of digits value is less than 0.1 or greater than or equal to | | 10**d (after rounding to d significant digits). | | Otherwise it is printed using F format with blanks | | in the 4 spaces reserved for the exponent part. | | For example: | | | | Format G12.4 (width 12, digits 4. ^ denotes a space) | | | | Value Output | | | | -12345 ^^-.1235E+02 | | | | 1234 ^^^1234.^^^^ | | | | -12 ^^-12.00^^^^ | | | | Explanations for the above examples: | | | | | | 1. -12345 rounds to -12350 which has an absolute value | | greater than 10**4 so format E12.4 is used.) | | | | 2. 1234 rounds to 1234 which is less than 10**4 and greater | | than 0.1 so format F8.0 is used. | | | | 3. -12 rounds to -12.00. Format F8.2 is used. Note that | | the number of decimal places is calculated from the | | number of digits given in the G format and the actual | | value of the data. | | | | Iw w = field width. This is integer format. For | | example: | | | | Format I5 | | | | Value Output | | | | -52 ^^-52 | | | | +452.75 ^^453 | | | --------------------------------------------------------------------------------- Justify Optional. Type one of the following: L left justify C center R right justify Default is to align on the decimal point. Prefill with Character Optional. Specify the character to be printed instead of leading blanks. For example, if the length is 20, the value (in E10.4 format) is -1234E+02, and the prefill character is as asterisk, the number will be printed: ***********-1234E+02 "No Value" Character Optional. The print field is filled with this character if the item has no value. "Error Value" Character Optional. The print field is filled with this character if an error value occurs. "Field Overflow" Character Optional. The print field is filled with this character if the item value is too long for the edit mask. Softkeys Select Item Prompts for the name of the item to be accessed. Select Lineset Prompts for the level and type of lineset to be accessed. You respond with: P (for page) plus H (page heading) or F (page footing) R (for report) plus H (report heading) or F (report footing) 1 - 9 (break level) plus H (break heading) or F (break footing) D (for detail line) The Item Edits screen for the selected lineset and the current item appears. The current item is the item that appears in the Item field.


MPE/iX 5.0 Documentation