Skip to main content

SMAListRptNumbers

What is it?​

This script finds the first and the last report numbers in the DSX List and stores those values in the specified OpCon properties. The stored values can then be referenced by downstream jobs that need to process reports within that range.

  • Use this script when downstream processing depends on knowing the starting and ending report numbers in the DSX List
  • Run this script before jobs that iterate over or reference DSX List report numbers
note

The configuration file for this script must be set up prior to running your first XP2 job. Refer to the MSGIN File information in the Reference section.

Command line​

Run this script from an OpCon job using the following command line:

[[SMAXPSetup]] SMAFetchQueuedDocNumber.pl -e <Ending Property Name> -s <Starting Property Name>

Command line switches​

SwitchRequiredDescription
-eYesThe name of the property to create with the ending report number in the DSX List file. Do not use a property name that contains spaces.
-sYesThe name of the property to create with the starting report number in the DSX List file. Do not use a property name that contains spaces.
Example

The following command updates properties with the start and end report numbers:

[[SMAXPSetup]] SMAFetchQueuedDocNumber.pl -e DSXListEndPropertyName -s DSXListStartPropertyName