The DD as a whole is not structured as a file, so that each "entry" would be
organized as the definition for that file. 
(because there isn't a ^DD(0) node, nor are there any "cross
references" on the whole DD, but there are 0-nodes for each file.). 
But the root "^DD(" followed by the file (or sub-file) number does
have the form of a file itself. So use of a $ORDER For loop as an
iterator could easily do most of what you want...

David

> 
> But file 1 (the FILE file) doesn't store a list of fields, so it is  
> of no use in getting a list of fields. Now, if the DD itself were  
> really a file, then you'd be in business.
> 
> ===
> Gregory Woodhouse
> [EMAIL PROTECTED]
> 
> "Design quality doesn't ensure success, but design failure can ensure  
> failure."
> 
> --Kent Beck
> 
> On Jul 11, 2005, at 10:26 AM, James Gray wrote:
> 
> > I think the issue is that you want to use a Fileman API on the file  
> > of files.  File 1 is the file of files.  I do not think that  
> > Fileman will care if the individual files have data in them.  If  
> > the fields have been defined for the individual files that is what  
> > the API's can retrieve for you.  When you are looking at file 1  
> > then the individual file numbers are the IEN's of the individual  
> > records of the file of files.  You can also use Fileman API's on  
> > the data dictionary which has been called File 0.  However, you  
> > cannot 0 (zero) as the file number. You have to use the actual  
> > global root.  I hope this makes sense.
> >
> > Jim Gray
> >
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
> July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
> core and dual graphics technology at this free one hour event hosted by HP,
> AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
> _______________________________________________
> Hardhats-members mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/hardhats-members
> 



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to