I don't see why you need an API for this, unless the RMVLNK command is being called via QCMDEXC from an RPG program or something like that? If RMVLNK is called from a CL program, and passed a CL variable, you shouldn't have to double the single quotes!

But if I'm wrong, and RMVLNK doesn't work that way (making it atypical of IBM commands) or if this is coming from a non-CL program, then for sure using the unlink() API would be much easier.

rob@xxxxxxxxx wrote:
If he's using api's to read the directory, why not use the api to remove a file instead of calling QCMDEXC and mucking around with building the command string? Force of habit? What one is familiar with?


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2025 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.