pc.o Processing Code/Restore Processor

pc.o

Command pc.o Processing Code/Restore Processor
Applicable release versions: AP
Category Restore Processor (84)
Description sorts the values in the specified attribute(s) in ascending order. The values are sorted when the item is filed.

While this CAN be used in the "correlative" attribute of an attribute-defining item, it causes the screen to refresh with each value added. To prevent this from occurring, it is advised that this processing code be placed on the "correlative" attribute of the file-defining item using the format listed below.

1) Attribute-Defining Items:

Syntax: o

Where Used:
correlative: used here
input-conversion: aborts with illegal use message
output-conversion: aborts with illegal use message

Function:

After a value is entered, the screen is redisplayed with the value placed in ascending alphabetic (a-z) order.

The sort does NOT take place until a value is added to an attribute. If the processing code is added to an existing attribute, the attribute can be displayed and filed without the attribute getting sorted. If a value is added, the attribute is sorted.

2) File-Defining Items:

Syntax: o{;}attribute.number{;attribute.number...}

In file-defining items, the "o" processing code may only be used in the "correlative" attribute. The first semi-colon is optional.

Function:

When the item is filed, the values in the attribute(s) specified by "attribute.number" is/are sorted and replaced in ascending alphabetic (a-z) order.

If an attribute is not already sorted, adding this processing code sorts the attribute the next time the item is filed.
Syntax o
o{;}attribute.number{;attribute.number...}
Options
Example
Purpose
Related ue.1072
processing.codes
up.input-conversion.adi
input-conversion
conversion
output-conversion
up.output-conversion.adi
up.correlative.adi
pc.ms
pc