Section 2, Task 1: Customize and Verify Your Test PDB
Prerequisite 1: You have a printed copy of the table definition(s).
Step d:
Use your local print facility to print the file.

  1. Create a file containing these statements:

    * Printing a table definition in the SAS log;
    %CPSTART( pdb=pdbname, mode=batch );
    %CPCAT; cards4;
    print table name=_ALL_;
    /* The four semicolons must be in column one */
    ;;;;
    %CPCAT( cat=work.temp.prtab.source );
    %CPDDUTL( entrynam=work.temp.prtab.source, list=yes );

    where pdbname is the name of your PDB. For more information on the PRINT TABLE control statement, see the %CPDDUTL control statements in the Macro Reference documentation for IT Service Vision.

  2. Start SAS from the UNIX shell command prompt as follows:

    sas filename -terminal -batch -dmsbatch -fsdevice ascii.vt100

    where filename is the name of the above file. Or, type the contents of the above file (if the IT Service Vision server software is already running, omit the invocation of the %CPSTART macro) starting at the first line in the body of your PROGRAM EDITOR window. Submit the above file for SAS to run.

    The control statements display in the SAS log, followed by the output that they generate. To print the log, see the instructions earlier in this prerequisite.