× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




Simon Coulter wrote:

Real question is why? Just use the RTVCURDIR CL command.

I had not searched that way, indeed it is much easier.


OS/400 VRM540 supports pointers in CL. However, if you remember that passing 
a variable by reference 
is exactly the same as passing a pointer by value you can do this on VRM530. 
See code below. 

...
thanks for the examples
...

You can't do any of this prior to VRM530 because you can't pass the buffer 
size by value. However, 
the correct solution is to forget the getcwd() function and use the CL 
RTVCURDIR command instead. 

That's what I'll do immediately.

Thanks a lot,
Arco Simonse

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.