Parse-Packed-Decimal method

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.

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.

Parameters

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 Optional. Identify the property to hold the result, typically a Single Value property with a Type of Decimal or Integer.

Results

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.

Checking the method status

This method updates the pxMethodStatus property. See How to test method results using a transition.