If you’re on version 12+, this should work fine. Below is my test example ini file.
[22]
Name=Code Analysis1
Type=Code Analysis
[OPTIONS]
RULESET=C:\Users\admin\AppData\Roaming\Quest Software\Toad for Oracle\12.0\RuleSets\Minimum_20.rst
RSET=Top 20
OUTPUTDIR=c:\output
HTMLFILENAME=CodeAnalysis.html
XMLFILENAME=.xml
METRICHISTORYFILENAME=.xls
XLSFILENAME=.xls
CODEXPERT_SCAN=1
SQL_SCAN=0
PASSWORDS_ENCRYPTED=1
INCLUDE_HTML=1
INCLUDE_XML=0
INCLUDE_XLS=0
INCLUDE_SERVERSIDE_INSERT=0
INCLUDE_METRICS_HISTORY=0
INCLUDE_METRICS_HISTORY_HTML=0
SEND_EMAIL=0
CLEAR_ERROR_LOG=1
SERVERSIDE_INSERT_RUNNAME=AUTOGENERATE
[FILES]
FILE1=C:\test*.sql
and my command line:
toad.exe -a “Code Analysis1 | c:\Code Analysis1.ini”
From: vinodkm [mailto:bounce-vinodkm@toadworld.com]
Sent: Tuesday, September 17, 2013 8:32 AM
To: toadoracle@toadworld.com
Subject: RE: [Toad for Oracle - Discussion Forum] Code analysis using Run with parameter file
RE: Code analysis using Run with parameter file
Reply by vinodkm
Hello Sir,
Thank you so much for your inputs.
This allready I have tried and this will not work…its throwing following error and no report being generated.
Failed exception
9/17/2013 5:57:31 PM: Code Analysis1 (Code Analysis) started.
9/17/2013 5:57:31 PM: Start processing Code Analysis Items
9/17/2013 5:57:31 PM: Processing 1 of 1
9/17/2013 5:57:31 PM: Code Analysis1 (Code Analysis) finished.
Please let me know this can be handled
To reply, please reply-all to this email.
Stop receiving emails on this subject.
Or
Unsubscribe from Toad for Oracle - General notifications altogether.
Toad for Oracle - Discussion Forum
Flag
this post as spam/abuse.