Displaying a view on a UNIX™ workstation with a DB2® database
To display a view on a UNIX™ workstation
with a DB2® database installed,
perform the following steps:
- From a shell script, enter the following command:
where DB2user is the name of the user with which you installed the DB2® database. The default name is db2inst1. For example, if you installed the DB2® database using the db2inst1 user name, enter the following command:su - DB2user
su - db2inst1
- Ensure that the DB2® environment
is initialized using the following command:
db2
- Type
to return to the shell environment.quit
- Start the Command Editor using the following command:
db2
- Proceed as described from Step 2 of Displaying a view on a Windows workstation with a DB2 database.