× 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.



Another reason not to call the QShell programs directly (I've made that mistake before, fortunately with no ill results) - is that the status is not returned when you do that. Only the STRQSH/QSH command does that.

Scott has mentioned this before, and I don't remember - I think we CAN write our own utilities for QShell - they just have to use the C/C++ interface, where what comes in is an array of char* following the number of items in that array. Not that I've tried this yet - oh yeah, you'd have to add a symbolic link into the same place where QShell puts them in the IFS.

I think!!
Vern

On 12/17/2010 12:40 PM, Scott Klement wrote:
Please don't encourage people to put together a kludge like this. You
shouldn't call the programs in the QSHELL library directly. If you want
to run QShell's CHMOD program, please do this:

QSH CMD('chmod 644 /your/file/name')

Do not call the CHMOD program in QShell directly. It may work now, but
break with a PTF or future release. The programs in the QSHELL library
are designed to be used within the QShell environment and pay expect
that environment to be active. Since IBM does not offer them as APIs,
that behavior can change without notice.

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-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.