psGenerateCCDefines

Description

   This program writes a C++ header file.   The header file will contain
a '# define' telling the programmer the byte length of each non-fixed-lengthed
column in the database.   The names of the '# defines' is TABLE_COLUMN.
The names of the '# defines' are always in upper case.

 

Syntax

psGenerateCCDefines -Sserver -Uusername -Ppassword -Ddatabase
-Wowner -Nname

 

Arguments

-S

Source Sybase Server Name

-U

Source Sybase User Name

-P

Source Sybase User Password

-D

Source Sybase Database

-W

Write C++ defines for tables belonging to 'owner' only [-U]

-N

Write C++ defines for tables having pattern 'name' [!rs%]

-F

Name of output C++ header file [standard output]

 

Environment Variables Behind the Scenes

DSQUERY

When -S is not specified

SYB_USER

When -U is not specified

SYB_PASS

When -P is not specified

SYB_DATABASE

When -D is not specified

PS_SYSMSG_FILE

Name of the tool's messages file

 

Go to DBPowerSuite 7.9 List of Programs.


Updated: Thu Jun 18 21:12:26 2009