Parse-Packed-Decimal method |
03-02 C-368?Use the Parse-Packed-Decimal method in the Steps tab of a Parse Structured rule (Rule-Parse-Structured rule type) to extract packed decimal data from the input byte stream into a clipboard property value. BURND 2/21/06
You cannot use this method in an activity. You cannot use this method if the associated input is a character stream rather than a byte stream.
This method has three parameters:
Parameter |
Description |
Digits | Enter a non-negative integer value for the total number of packed decimal digits in the input string. Each packed decimal digit requires four bits. |
ImpliedDecimals | Enter a non-negative integer value that identifies how many decimal places are in the result. |
TargetProperty | R-5858 Optional. Identify
the property to hold the result, typically a Single
Value property with a Type of
Decimal or Integer . B-19602 |
The system reads the specified number of bytes from the input byte stream. It converts the digits and decimal place from packed decimal format to characters.
If the TargetProperty field is not blank, it stores the result as the value of that property. If the property is not already present on the clipboard, it is added.
See More About Parse Structured rules.
This method updates the pxMethodStatus property. See How to test method results using a transition.
About Parse Structured rules |