Because the syntax in the filename could well contain a path, it is
very difficult to impossible to hardcode it. It would be better to
give someone the option of manually specifying the file (including the
path) or let them define a parameter that would identify the default
path. That way, they can focus on the filename and let the parameter
complete the task. Of course, my suggestion is based on a educated
guess as to how your tool might be used... ;-) Greg Woodhouse wrote: Definitely, every system should have an HFS device. I believe KIDS needs an HFS device before you can create a host file distribution.--- Kevin Toppenberg <[EMAIL PROTECTED]> wrote:Is HFS a standard device on all systems (Cache' vs. GTM vs VMS)? I ask because I am trying to standardize my XML exporter to remove any system dependancies. Also, I know that I can use the following code to directly specify a filename set %ZIS("HFSNAME")=fileName set %ZIS="Q" ;"queing allowed set %ZIS("HFSMODE")="W" ;"write mode set IOP="HFS" do ^%ZIS ;"standard device call Or I can ask the user to select a HFS device for me like this: set %ZIS("A")="Enter Output Device: " set %ZIS("B")="HFS" do ^%ZIS ;"standard device call Can someone help me decide the best way to do this in my code? Thanks Kevin __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- 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 Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members=== Gregory Woodhouse <[EMAIL PROTECTED]> "Design quality doesn't ensure success, but design failure can ensure failure." --Kent Beck ------------------------------------------------------- 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 Hardhats-members@lists.sourceforge.net 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) |
- Re: [Hardhats-members] ^%ZIS question Greg Kreis
- Re: [Hardhats-members] ^%ZIS question Gregory Woodhouse
- Re: [Hardhats-members] ^%ZIS question Kevin Toppenberg
- Re: [Hardhats-members] ^%ZIS question Greg Woodhouse
- Re: [Hardhats-members] ^%ZIS question Kevin Toppenberg
- Re: [Hardhats-members] ^%ZIS question Kevin Toppenberg
- Re: [Hardhats-members] ^%ZIS question Kevin Toppenberg
- Re: [Hardhats-members] ^%ZIS question Gregory Woodhouse
- Re: [Hardhats-members] ^%ZIS question smcphelan