Skip to main content

SMARunDNAJob configuration settings

What is it?

SMARunDNAJob.ini is the primary configuration file for the SMARunDNAJob program. It controls how SMARunDNAJob connects to Oracle, monitors jobs, handles output files, and logs activity. Create this file in C:\ProgramData\OpConxps\DNA\ before running DNA jobs.

Settings marked with can be overridden by a matching command-line argument. See Command-line options.

Create the configuration file

To create the SMARunDNAJob configuration file, complete the following steps:

  1. Go to C:\ProgramData\OpConxps\DNA\ (or the directory where SMARunDNAJob.exe is installed).
  2. Create a new file named SMARunDNAJob.ini.
  3. Enter the following template and populate the values for your environment:
# ======================================================================
# SMARunDNAJob configuration file
# ======================================================================

[General]
DaysOfLogFilesToKeep=
Program2Execute=
SQTArgumentTemplate=
EnvFile=
ErrorWordsFile=

[Oracle Parameters]
OracleFile=

[Event Settings]
PathToMsgInDirectory=
OpConUser=
OpConPassword=
JobStartEvent=$

[Enhanced Monitoring]
LostSessionTimeoutSeconds=
MachineName=
FailInactiveStatus=
AdditionalErrorCheck=
AdditionalErrorCheckArgs=

[SQRT Parameters]
SQTBaseDirectory=
SQTBaseDirectoryAlternate1=
SQTUser=
SQTPassword=
SQTDatabase=n
SQTOptions=
SQTErrorFile=
SQTReportPath=
SQTResponseFilePath=

[Processing Options]
networknodenbr=
ListErrorDetail=
MSQUERRThreshold=
OrganizationNumber=
DefaultParameterDateFormat=

[DriveMappings]
#Drive1=

[Output File Handling]
OutputReportDirectory=
OpticalReportDirectory=
PartnerReportDirectory=
CopyReportToOptical=
CopyReportToPartner=
CopyReportToOutput=
DistributionTicketDirectory=
DistributionJobScheduleName=
DistributionJobJobName=
DistributionJobFrequency=

General

The General settings control core program behavior — log retention, the SQRWT executable path, and references to supporting files.

SettingRequiredDescription
DaysOfLogFilesToKeepNoNumber of days to retain log files. Log files older than this value are purged automatically.
Program2ExecuteYesFull path to the SQRWT program (sqrwt.exe or sqrt.exe).
SQTArgumentTemplateNoTemplate for building SQRWT arguments. Use double-bracket property tokens (for example, [[SCHEDDATE]]) for dynamic values.
EnvFile NoFull path to the environment file that sets up the execution environment for SQRWT. See Environment file.
ErrorWordsFile NoFull path to SMAErrorWordsFile.txt. Rows in the DNA error table matching these expressions cause the job to fail. See SMAErrorWordsFile.

Oracle Parameters

The Oracle Parameters section points SMARunDNAJob to the Oracle connection file configured in the previous step.

SettingRequiredDescription
OracleFileYesFull path to SMAOracleConnection.ini. This file replaces the legacy inline Oracle connection parameters.

Event Settings

The Event Settings control OpCon events that SMARunDNAJob can fire when a job starts.

SettingRequiredDescription
PathToMsgInDirectoryNoDirectory where OpCon MSGIN event files are placed. Use a UNC path if there is no Windows Agent installed on the machine running SMARunDNAJob.
OpConUserNoA valid OpCon user ID with permissions to create events. Required if JobStartEvent is set.
OpConPasswordNoPassword for the OpConUser. Can be the name of an encrypted password file created with SMACreatePasswordFile.
JobStartEventNoAn OpCon event generated when the job starts. Supported tokens: [[SCHEDDATE]], [[SCHEDNAME]], [[JOBNAME]], [[DNAQueueID]], [[DNAEffectiveDate]].

Enhanced Monitoring

The Enhanced Monitoring settings control how SMARunDNAJob tracks the Oracle session for a running job and determines whether the job has stalled or failed.

SettingRequiredDescription
LostSessionTimeoutSeconds NoTimeout (in seconds) for the Oracle session monitoring thread. If no active session is found within this time, the session is considered lost and the job fails.
MachineName NoThe machine name to match in the Oracle V$SESSION table (TERMINAL field). If not set, SMARunDNAJob uses the COMPUTERNAME environment variable.
FailInactiveStatus NoSet to true to treat an Oracle session status of INACTIVE as a failure. Set to false to allow inactive status.
AdditionalErrorCheckNoFull path to a post-processing script or application. If SQRWT exits with code 0, SMARunDNAJob runs this script and uses its exit code as the final exit code.
AdditionalErrorCheckArgsNoArguments to pass to the application specified in AdditionalErrorCheck.
ClusterNoSet to true to poll GV$SESSION instead of V$SESSION. Use this setting when the Fiserv DNA Oracle environment uses multiple nodes (RAC). Any value other than true is treated as false.

SQRT Parameters

The SQRT Parameters settings control how SMARunDNAJob invokes the SQRWT program and where it looks for SQT files.

SettingRequiredDescription
SQTBaseDirectory NoBase directory for SQT files. When set, the SQT path on the command line is treated as a file name only.
SQTBaseDirectoryAlternate1SQTBaseDirectoryAlternate99NoAlternate directories searched if the SQT file is not found in SQTBaseDirectory. Directories are searched in order until a match is found.
SQTUser NoOracle user for running the SQT.
SQTPassword NoPassword for SQTUser, or the name of an encrypted password file.
SQTDatabase NoOracle service name for the database connection used to run the SQT.
SQTOverrideDatabase NoOverrides SQTDatabase on the SQRWT command line only. Use when the database value required for monitoring differs from the value required for the SQRWT command line.
SQTOptions NoMiscellaneous options to pass to SQRWT.
SQTErrorFile NoFile path for SQRWT error messages. Set to GENERATE (without quotes) to have SMARunDNAJob create a file name based on the OpCon job name.
SQTReportPath NoOutput directory path passed to SQRWT.
SQTResponseFilePath NoDirectory for the temporary response file written during job processing.

Processing Options

The Processing Options settings control job-level behavior including error reporting thresholds and date formatting.

SettingRequiredDescription
networknodenbr NoNetwork node number. Can also be set in the environment file or on the command line. If not set in any location, the most recently created active entry in the NTWKNODE table is used.
ListErrorDetail NoSet to true to display error messages from the QUEAPPLERROR table. Set to false to suppress error text (useful when error messages contain sensitive data).
MSQUERRThreshold NoIf set to a non-zero value, the job is marked failed only when the error row count in QUEAPPLERROR exceeds this threshold.
OrganizationNumber NoOrganization number used for lookups in the BANKORGYEARMONTHDAY table.
DefaultParameterDateFormat NoDefault date format used when computing date offsets for parameter values. Can be overridden per parameter on the command line.

DriveMappings

Use DriveMappings when SMARunDNAJob needs to connect to network shares as mapped drives. Define one mapping per numbered setting (Drive1, Drive2, and so on).

SettingRequiredDescription
Drive1Drive999NoDrive mapping definition. Each value contains four fields separated by a pipe (|): local drive letter, share name, user name, encrypted user password. For example: Z:|\\server\share|domain\user|encryptedpassword.

Output File Handling

The Output File Handling settings control whether and where SMARunDNAJob copies the output file after a job completes. Enable each copy target individually (CopyReportToOutput, CopyReportToOptical, CopyReportToPartner), then set the corresponding destination path.

SettingRequiredDescription
OutputReportDirectoryNoIf CopyReportToOutput is true, the output file is copied to OutputReportDirectory\<effective date>\<queue number>.
CopyReportToOutput NoSet to true to copy the output file to OutputReportDirectory.
OpticalReportDirectoryNoIf CopyReportToOptical is true, the output file is copied to this directory.
PartnerReportDirectoryNoIf CopyReportToPartner is true, the output file is copied to PartnerReportDirectory\<effective date>\<queue number>. Separate multiple destinations with a semicolon.
CopyReportToOptical NoSet to true to copy the output file to OpticalReportDirectory.
CopyReportToPartner NoSet to true to copy the output file to PartnerReportDirectory\<effective date>\<queue number>.
DistributionTicketDirectoryNoDirectory for Distribution Ticket files created when CopyReportToOutput is true and either CopyReportToOptical or CopyReportToPartner is also true.
DistributionJobScheduleNameNoSchedule name for the $JOB:ADD event generated when distribution copying is active.
DistributionJobJobNameNoJob name for the $JOB:ADD event generated when distribution copying is active.
DistributionJobFrequencyNoFrequency for the $JOB:ADD event generated when distribution copying is active.