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



I think,you should use

#pragma linkage(H38ARR,OS)

but first setup correct Equation context,including objects in QTEMP. So,
using QUSER profile may be not siutable.
Alexander Bardashev.

-----Исходное сообщение-----
От: Eugene Astanovsky <j.astanovski@sampopank.ee>
Кому: C400-L@midrange.com <C400-L@midrange.com>
Дата: 14 января 2002 г. 12:17
Тема: [C400-L] How to call an RPG program?


>This is a multi-part message in MIME format.
>--
>[ Picked text/plain from multipart/alternative ]
>Such a strange thing!
>I know how to call an RPG program:
>
>#pragma map(action, "KAPBASELIB/H38ARR")
>#pragma linkage(action, OS)
>
>void action (......................) ;
>
>int main()
>{
>.......
>
>action(......) ;
>
>........
>return(0) ;
>}
>
>But this method assumes, that I know exactly, where this H38ARR reside.
>And if I do not?
>And I assume, that it's library is in *LIBL.
>
>I tried
>#pragma map(action, "*LIBL/H38ARR")
>and got MCH3401 (?) - cannot resolve to object.
>
>And now I do not understand, if this form is not allowed, or the customer,
in whose context the program runs (QUSER, job QZRCSRVS) does not have a
proper LIBL created.
>
>How can I solve this stupid little problem?
>
>Regards,
>Jevgeni.
>
>--
>
>_______________________________________________
>This is the C programming iSeries / AS400 (C400-L) mailing list
>To post a message email: C400-L@midrange.com
>To subscribe, unsubscribe, or change list options,
>visit: http://lists.midrange.com/cgi-bin/listinfo/c400-l
>or email: C400-L-request@midrange.com
>Before posting, please take a moment to review the archives
>at http://archive.midrange.com/c400-l.
>



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.