Home page  
Help >
ddlInfo() - INFO command
Version 7.11
ddlInfo() - INFO command

Prototype:
   void ddlInfo(
      CONTROL *ctl,
      char *OptnStr,
      char *ArgList);

Permitted values in OptnStr:
   /A - Suppress "Active Record Count" plus "Uniqueness" and "Structured"
   /D - first param is ATTACHed DbName
   /F - display full names
   /K - Display information about keyed fields only 
   /N - Display non-virtual fields only
   /P - Display information about the AI, not the data base 
   /T - Reconstruct a symbolic DBD file 
   /X - suppress calls to Print Callback

Form of ArgList:
   INFO                    - displays each table in the data base 
   INFO <tablename>        - displays each field of this table 
   INFO <fieldname>        - displays all tables this field is known in 
   INFO/K                  - info about keys in all tables 
   INFO/K <tablename>      - info about keys in this table 
   INFO/K <keyname>        - shows this key in all tables that have it 
   INFO/P                  - displays general info about the AI 
   INFO/P <rdname>         - displays the layout of this RD in the AI 
   INFO/T                  - Reconstruct a symbolic DBD 
   INFO/PT                 - Reconstruct a symbolic AI 
   INFO/D <attach-dbname>  - info about ATTACHed DB 

Description:


Notes:
1) All printing performed by the ddlInfo() function is achieved through a user callback, as specified in the ddlPrintCallback() function.
2) INFO/T can be used in DDTL to reconstruct the symbolic DBD.
At the DDTL command prompt, type:
   >PON <file-name.dbd>
   >INFO/T
   >POF
The file <file-name.dbd> now contains the essential symbolic statements of the data base definition.

Examples:
   Without Token Map:
      INFO
      INFO CUSTOMERS
   With Token Map:
      INFO
      INFO CUSTOMERS
      INFO/F CUSTOMERS

Copyright © 2019 , WhamTech, Inc.  All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. Names may be trademarks of their respective owners.