Anonymous user
Multiline shebang: Difference between revisions
→{{header|SQL PL}}
No edit summary |
|||
Line 602:
values current date;
</lang>
Output:
<pre>
$ ./test
The current database manager instance is: db2inst1
Database Connection Information
Database server = DB2/LINUXX8664 10.5.5
SQL authorization ID = ANGOCA
Local database alias = WFSCPD
Hello
04/22/2018
</pre>
The db2profile should be loaded before executing the 'db2' command (. ~db2inst1/sqllib/db2profile).
|