Supressing 'File Created' output on 'create pfile' command in SQL*Plus

StackOverflow https://stackoverflow.com/questions/22693157

  •  22-06-2023
  •  | 
  •  

سؤال

I'm using a Perl script to run SQL*Plus and then sending a command to the program to create a pfile from the SP file. I want the command to run without outputting anything to the terminal. Running sqlplus in silent mode (sqlplus -s) suppresses most of the terminal output when calling sqlplus, but creating the pfile still outputs a 'File created' to the terminal regardless. How can I suppress this output?

هل كانت مفيدة؟

المحلول

Running set feedback off will suppress the 'File created' output in the terminal. If you are running a SQL script when calling SQL*Plus, adding that line before the create pfile line will suppress the output as well.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top