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



To raise another interesting aspect - you can call the *PGMs directly from a command line or CL program. They will have the C-like argument set, options and values, etc. I forget whether I had to pass a single parameter with the options I wanted, or to pass each blank-separated value as a separate parameter - I think the latter - but it does work nicely. I once thought of using this with the jar utility, in fact.

Of course, you might as well use QSH cmd(...) to do it!

Others can remark on good or ill behavior using the technique I mention - I'm aware of some of that and will leave that as an exercise for the student.

Just some idle thinking from several years ago! And it is a vacation day for yours truly!

Vern

On 11/10/2010 10:38 PM, Ryan Watkins wrote:
Just to clarify....I

Issuing the LS (or ls) command from QSHELL actually calls the LS
program (*PGM) object in library QSHELL behind the scenes.

And like Scott said, you can run any native IBM i programs directly from
QSHELL like this for example:

/qsys.lib/somelib.lib/somepgm.pgm

Ryan Watkins



On 11/10/2010 02:57 PM, Musselman, Paul wrote:
Just to add some confusion to the issue: According to one IBMer I spoke
with (about a nasty CCSID issue with QSHell scripts), QSHELL is a
"UNIX-like" interface built over OS/400. The commands you issue point
to programs in a "QSHELL" library.

PASE is a "real" UNIX-it is actually AIX. It looks similar to QSHELL,
but doesn't have some of the limitations built in to QSHELL. To use
PASE, CALL QP2TERM.

And that's all the information I have on PASE.

Paul E Musselman


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.