Home page  
Help >
ddlRpr() - raw print
Version 7.11
ddlRpr() - raw print ddlRpr() - raw print

Prototype:

   void ddlRpr(
      CONTROL *ctl,
      char *OptnStr,
      char *ArgList);

Permitted values in OptnStr:

   /Cn - display first n records
   /D  - display deleted records
   /H  - display hierarchy information; ref RPR /H Option
   /R  - Display the table name and record number with each record.


Form of ArgList:
       Form I:   <cx> <table-name>
       Form II:  <cx> <table-name> <list>
       Form III: <cx> <list>
             <list> is one or more blank delimited <list-item>s
             <list-item> is either:
                   <column-name> [<format-override>]
                   <string-literal> [<format-override>]
       <column-name> may be an unqualified column name or a qualified column name
       <string-literal> is a character string enclosed in 's
       <format-override> is described in the format override document

Description:
ddlRpr() (RAWPRINT) displays the contents of specified fields from an isolation. It is used primarily as a debug tool; but it can also be used to produce simple reports.

There are three modes of RAWPRINT usage:
   1) Display the contents of a single table;
   2) Display the contents of multiple tables without mapping;
   3) Display the contents of multiple tables with mapping;

The /R option causes the record number and table name of each record to the displayed. This is especially useful for debugging.

Values returned in Control Structure:
Control.Ans1 Number of records printed
Control.Ans3 Number of records read

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.