Home page  
Help >
ddlFill() - fill a collection
Version 7.11
ddlFill() - fill a collection ddlFill() - fill a collection

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

Permitted values in OptnStr:
   /M - place all record numbers into the target collection ignoring the max record pointer 
        This is used for data recovery only

Form of ArgList:
      <cx> [<table-name>]

Description:
Places all active records for the specified table (or all tables) into the target collection.

A table-specific call to ddlFill(), i.e., a call that includes a specific <table-name>, clears sorted collections (if they exist) for
       . the sorted collection for <cx> <table-name>
       . the global sorted collection for <cx>

A global call to ddlFill(), i.e., a call that does not include a specific <table-name>, clears sorted collections (if they exist) for
       . all table-specific sorted collection for <cx>
       . the global sorted collection for <cx>

Values returned in Control Structure:
Control.Ans1 Total number of records placed into collection (32 bit)
Control.Ans1L Total number of records placed into collection (64 bit)



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.