You can use a search template as the value of BY(0) when making a call to EN1^DIP. By setting FLDS="" and DHD="@@" and then programming DHIT to be the line of code you want to have happen, per record, you can iterate through the search template entries using FM, without having to know about the '1' node structure.

Gregory Woodhouse wrote:

One option that may be more trouble than its worth, is to use EN^DIP and set IOP to a host file device. That way, you can redirect the output to a (host) file and parse it later. The big advantage to sort templates is that they give you a mechanism to allow the user to interactively specify sort criteria. If you don't need this (e.g., if you know in advance what you want to do, or if you want to set the criteria programmatically) then I wouldn't use sort templates, but would use LIST^DIC instead.

===
Gregory Woodhouse
[EMAIL PROTECTED]

"The whole of science is nothing more than a refinement
 of everyday thinking."  -- Albert Einstein


On Jul 4, 2005, at 2:04 PM, Kevin Toppenberg wrote:

Greg,

Thanks for the feedback.  That LIST^DIC looks like a
juicy function, that I may use as another method
available for users to generate a list of records for
export.

Thanks again

Kevin




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members


--
Greg Kreis      http://www.PioneerDataSys.com

"You are today where your thoughts have brought you, you will
  be tomorrow where your thoughts take you." (James Lane Allen)



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to