Previous Page | Next Page

The GREPLAY Procedure

Creating Custom Templates

You can use the GREPLAY procedure to create custom templates. Custom templates are typically used to perform the following actions:

To define and view a custom template:
  1. Start the GREPLAY procedure with the NOFS option.

  2. Assign a template catalog with the TC= option.

  3. Define a template with the TDEF statement.

  4. Preview the template with the PREVIEW statement.

  5. End the GREPLAY procedure with the QUIT statement.

Before you create a template, you must assign a template catalog. If you are use the GREPLAY procedure in line mode, use the TDEF statement to define a template and the PREVIEW statement to preview a template. For example, the following statements define and preview a template named TEMPLT:

proc greplay nofs tc=sasuser.cat;
   tdef templt 1/def;
   preview templt;
quit;

Previous Page | Next Page | Top of Page