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



Vern,

I did try translating the string to ASCII,
no go. I will look at WAIT to see if it
brings out any clues.

Thanks,

David Morris


>>> vhamberg@attbi.com 04/05/02 11:43 AM >>>
 From the text on the API, it seems it is running qsh with the command
you
give it. qsh works with EBCDIC, so that should not be the problem. But
we've all been shoulded on, right?

It does mention that the return value is from waitpid(). It's actually
the
second parameter on that API. There are a number of macros (C-type) in
member WAIT of file SYS in QSYSINC. How are you at converting C macros
to
RPG?  Heh!  Let me know if you need help there. They're binary ANDs of
the
value with some masks.

You might try the C mailing list.

At 11:00 AM 4/5/02 -0700, you wrote:
>Joe,
>
>I have indeed tried appending a x'00' as well as
>specifying options(*string). I really wish the
>message would tell me what it is trying to run.
>My best guess is that the command needs to be
>passed as ASCII. I hate to write a wrapper
>for the translation API only to find out it
>is something else.
>
>Thanks,
>
>David Morris



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.