How to set OBIEE 12c Nqcmd -ShowQueryLog to Retrieve The Physical SQL (Doc ID 2251034.1)

Last updated on MAY 23, 2017

Applies to:

Business Intelligence Server Enterprise Edition - Version 12.2.1.2.0 and later
Information in this document applies to any platform.

Goal

 How to set OBIEE 12c nqcmd -ShowQueryLog to Retrieve The Physical SQL. In 11g, with the parameter, -ShowQueryLog, nqcmd.sh can retrieve the physical SQL, but in 12c this parameter only is not working. 

For eample, the command is:

nqcmd.sh -d AnalyticsWeb -u weblogic -p Admin123 -s /home/oracle/temp/simpletest.txt -o /home/oracle/temp/simpleresult.txt -utf16 -ShowQueryLog -H

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms