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:
  1. From a shell script, enter the following command:
    su - DB2user
    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 - db2inst1
  2. Ensure that the DB2® environment is initialized using the following command:
    db2
  3. Type
    quit
    to return to the shell environment.
  4. Start the Command Editor using the following command:
    db2
  5. Proceed as described from Step 2 of Displaying a view on a Windows workstation with a DB2 database.