Back Forward Parse-Packed-Decimal method

Methods and instructions by function

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

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

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.

See More About Parse Structured rules.

Checking the method status

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

Related topics About Parse Structured rules

UpMethods and instructions by function