Hi,
Quote:
If i run db2batch command line utility without setting DB2DBDFT
environment variable it crashes (segfault on win)
C:\IBM\SQLLIB\BIN>db2batch
*** Nebyla určena databáze a proměnná prostředí $DB2DBDFT je prázdná.
*** Bez určení databáze nelze pokračovat. |
It is not supposed to crash, but it doesn't matter that it does.
db2batch needs a database connection to do its job. Without a database
connection the tool is useless anyway.
But I'll open a defect for it.
Quote:
If i set env, variable and run it again it does not crash but it waits
for commands on standard input (proabably expected activity)
C:\IBM\SQLLIB\BIN>set DB2DBDFT=SAMPLE
C:\IBM\SQLLIB\BIN>db2batch
* Časová značka: Tue Aug 10 2010 21:06:09 Střední Evropa (letní čas) |
db2batch reads your statements and control directives either from standard
input or from a file. If you don't specify an input file, it will read from stdin.
Please have a look at:
http://publib.boulder.ibm.com/infoce.../r0002043.html
--
Helmut K. C. Tessarek
DB2 Performance and Development
/*
Thou shalt not follow the NULL pointer for chaos and madness
await thee at its end.
*/