DataWedge
84
NOTE: When there is no rule available for ADF plug-in or all rules are disabled, DataWedge passes decoded data to the
output plug-in without processing the data.
Order Rules List
NOTE: When there are no rules defined, ADF passes the captured data through as is. In contrast, when rules are defined
but all are disabled, ADF does not pass any captured data through.
Rules are processed in top-down order. The rules that are on top of the list are processed first. Use the icon
next to the rule to move it to another position in the list.
Table 6 ADF Supported Actions
Type Actions Description
Cursor
Movement
Skip ahead Moves the cursor forward by a specified number of characters.
Enter the number of characters to move the cursor ahead.
Skip back Moves the cursor back by a specified number of characters. Enter
the number of characters to move the cursor back.
Skip to start Moves the cursor to the beginning of the data.
Move to Moves the cursor forward until the specified string is found. Enter
the string in the data field.
Move past a Moves the cursor forward past the specified string. Enter the string
in the data field.
Data
Modification
Crunch spaces Remove spaces between words to one and remove all spaces at
the beginning and end of the data.
Stop space crunch Stops space crunching. This disables the last Crunch spaces
action.
Remove all spaces Remove all spaces in the data.
Stop space removal Stop removing spaces. This disables the last Remove all spaces
action.
Remove leading zeros Remove all zeros at the beginning of data.
Stop zero removal Stop removing zeros at the beginning of data. This disables the
previous Remove leading zeros action.
Pad with zeros Left pad data with zeros to meet the specified length. Enter the
number zeros to pad.
Stop pad zeros Stop padding with zeros. This disables the previous Pad with zeros
action.
Pad with spaces Left pad data with spaces to meet the specified length. Enter the
number spaces to pad.
Stop pad spaces Stop padding with spaces. This disables the previous Pad with
spaces action.
Replace string Replaces a specified string with a new string. Enter the string to
replace and the string to replace it with.
Stop all replace string Stop all Replace string actions.