The DIRECTORY() function has never been in VM (not even if you have SFS) because file system operations (as opposed to file operations) have never been (and should never be) the responsibility of a cross-platform language. Changing a directory is a "send a command to whatever OS you're on" operation. Or possibly a platform extension to the Stream() BiF.
Unfortunately, most Rexx implementations have not been terribly good about making such a clear distinction. Thus, Charles Daney's PCREXX had a built-in function for extracting the current MS-DOS directory and optionally changing it, and everyone else that was writing a Rexx interpreter for a platform with a hierarchical file system simply copied it. This was going to be one of the many headaches of porting ooRexx to the mainframe: what should it do when running under TSO or CMS? It has to do something or breakage occurs when porting Rexx programs. I think we can lay this at Charles' feet. He should have left that functionality up to 'Address DOS'. As for the "Site24x7 APM Insight" ad footer, it seems to be getting appended by whoever is servicing this discussion list. I thought RexxLA had opted out of that. -Chip- On 2/3/2016 10:36 PM, Les Koehler wrote: > Bertram, > > If you wrote that code to actually run on VM, then the directory > function would have been a User Extension, not part of Rexx itself. > > Les > > On 2/3/2016 12:05 PM, Bertram Moshier wrote: >> FYI / BTW: I went back to some Rexx programs I wrote on the VM systems we >> used at Cray Research, Inc and found >> >> Current_Dir = directory (New_Dir) where New_Dir was a valid directory. >> >> Shouldn't all versions of Rexx functions work the same, unless otherwise >> noted? I think it also worked on classic Rexx using OS/2 Warp, but have >> yet to find my OS/2 Warp drives to verify it. >> >> >> >> ------------------------------------------------------------------------------ >> Site24x7 APM Insight: Get Deep Visibility into Application Performance >> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month >> Monitor end-to-end web transactions and take corrective actions now >> Troubleshoot faster and improve end-user experience. Signup Now! >> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 >> >> >> >> _______________________________________________ >> Oorexx-users mailing list >> Oorexx-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/oorexx-users >> > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 > _______________________________________________ > Oorexx-users mailing list > Oorexx-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/oorexx-users > ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Oorexx-users mailing list Oorexx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-users