15.10 - Macro Name - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

prodname
Teradata Database
vrm_release
15.10
created_date
December 2015
category
Programming Reference
featnum
B035-1144-151K
macro_name
Macro for which to display help.
database_name
Containing database for macro_name, if other than the current database.
user_name
Containing user for macro_name, if other than the current user.

Example: HELP MACRO

The following request returns information about the new_emp macro.

     HELP MACRO new_emp;
     Parameter Name   Type  Comment 
     --------------   ----  ----------------------------------------      Name             CV    Employee name, last name first; required
     Number           I     Employee number; required
     Dept             I2    Department number; required

Example: HELP MACRO With UDTs

The following example shows HELP MACRO output for a macro that uses UDT parameters.

     HELP MACRO SYSUDTLB.Example;
                     Parameter Name P1
                                Type I
                             Comment ?
                            Nullable N
                              Format -(10)9
                               Title ?
                          Max Length 4
                Decimal Total Digits ?
           Decimal Fractional Digits ?
                           Range Low ?
                          Range High ?
                           Uppercase ?
                       Default Value ?
                           Char Type ?
                          IdCol Type ?
                            UDT Name ?
                      Parameter Name RETURN0
                                Type UT
                             Comment ?
                            Nullable N
                              Format ?
                               Title ?
                          Max Length ?
                Decimal Total Digits ?
           Decimal Fractional Digits ?
                           Range Low ?
                          Range High ?
                           Uppercase ?
                       Default Value ?
                           Char Type ?
                          IdCol Type ?
                            UDT Name ?