In releases prior to Infogix ACR 4.2, the system did not print a report unless an extraction occurred.
Problem
In ACR/Detail 4.0 or earlier, you want to generate a report even though the rules did not result in a data extraction.
Solution
Complete the steps below to print a report even if no valid data is extracted by creating a key for every run.
1 ) Create a dummy key and move +0 to an extraction variable.
Move +0 to MyEmptyFileExtractionVariable
2 ) Create a SELECT statement that checks to see if valid data exists. If data is selected, pick up the keys and items and add +1 to the extraction variable.
Select Pos 1 for 8 = “myData”
Move +1 to MyEmptyFileExtractionVariable
3 ) If nothing is selected, the empty file extraction variable remains at zero. Then move a literal of DUMMY to the key.
Select if MyEmptyFileExtractionVariable = +0
Move literal “DUMMY” to Key1
Move +1 to Internal Item 001
4 ) Add a rule that sets the override to avoid writing the DUMMY key to the history file.
Comments
0 comments
Please sign in to leave a comment.