dbrep
Package: WA2L/edrc 1.5.57
Section: General Commands (1)
Updated: 05 November 2020
Index
Return to Main Contents
NAME
dbrep - run reports/queries against an Oracle database
SYNOPSIS
edrc/bin/dbrep
[
-h
]
dbrep
-l
dbrep
[
-i oracle_sid
] [
-Y
] [
-n
] [
-r report
] [
-o option_list
]
AVAILABILITY
WA2L/edrc
DESCRIPTION
execute reports/queries against an Oracle database.
The
dbrep
allows to run prepared SQL scripts with a simple
interface against an Oracle database.
OPTIONS
- -h
-
usage message.
- -l
-
list all reports.
- -i oracle_sid
-
Oracle instance (default is
$ORACLE_SID).
- -n
-
no report header output.
- -Y
-
answer "execute alter report" question with yes.
- -r report
-
report to generate (default is growth).
- -o option_list
-
list of report parameters.
ENVIRONMENT
- $ORACLE_SID
-
Oracle SID to connect ot by default.
EXIT STATUS
- 0
-
no error.
- 2
-
operating system not supported.
- 3
-
could not resolve an
ORACLE_HOME.
- 4
-
usage printed.
- 5
-
command aborted.
- 6
-
configuration file
etc/dbrep.cfg
not found.
FILES
- edrc/etc/dbrep.cfg
-
configuration file of
dbrep.
- edrc/etc/oratab
-
Oracle
oratab
file.
- edrc/etc/tnsnames.ora
-
Oracle
tnsnames.ora
file.
- edrc/var/log/dbrep.log
-
log file of
dbrep.
- edrc/lib/dbrep/reports/<report>.sql
-
prepared SQL script of the report/query.
- edrc/lib/dbrep/reports/<report>.desc
-
prepared SQL script description- and option definition for the
the report/query.
- edrc/lib/dbrep/admin/<script>.sql
-
SQL scripts for admin/setup tasks needed in the Oracle
database to be queried.
EXAMPLES
-
SEE ALSO
edrcintro(1),
dbrep.cfg(4),
oratab(4),
tnsnames.ora(4)
NOTES
dbrep
uses
sqlplus
from Oracle to perform the reports/queries.
BUGS
dbrep
needs the Oracle client to be installed on the system.
AUTHOR
dbrep was developed by Christian Walther. Send suggestions
and bug reports to wa2l@users.sourceforge.net .
COPYRIGHT
Copyright © 2020
by Christian Walther
This is free software; see
edrc/doc/COPYING
for copying conditions. There is ABSOLUTELY NO WARRANTY; not
even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This document was created by man2html
using the manual pages.
Time: 16:52:43 GMT, August 28, 2024