Multiline shebang: Difference between revisions
Content added Content deleted
No edit summary |
|||
Line 602: | Line 602: | ||
values current date; |
values current date; |
||
</lang> |
</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). |
The db2profile should be loaded before executing the 'db2' command (. ~db2inst1/sqllib/db2profile). |