We'll take a look at how to save the spool into a dataset. Perhaps you might know this already!!
Many a times we end up wondering whether A>0 or 0>A (in COBOL as well as in DB2). The following should clear your doubts on the subject:
Thus numbers are greater than alphabets. The same holds good in DB2 as well.
NOTE: This is the case of numbers being stored as characters. We can't otherwise compare a numeric field with a character field.
There are times when you might need to find out how a "view" was created in the database. BMC can be used for this purpose. Checking descriptions of views and tables: Go to BMC -> 2.) CATALOG MANAGER and then choose OBJ TYPE as VW (for a view) - the same process can be applied to tables as well.
Prefix the view/table name by MX (mixed). And you'll be taken to another screen listing the tables and views.
Here you can use a 3-character command. Type DES (describe) to view the details of the table/view.
In the case of a view you will also get the query which was used to create the view.
The command US prefixed before the view name will give a list of users who are authorized to use the view and what authority they have.
Copyright © 2020 Sethu Subramanian All rights reserved. Reach me via email at ssbell @ gmail.com