Re: call rpgle program from within a java program...

Gerald Magnuson <[email protected]>
Newsgroups gmane.comp.lang.as400.java
Message-ID <CAN-KPi6eRPDocYpe3P8UDwPBHmS6sDAMrhokjHNSzjHrBFvb4Q@mail.gmail.com>
The PCML exists in /tmp...    but I just noticed that I don't refer to
it....
the doc:
<pcml version="4.0">
   <program name="GETMQMSG" path="/QSYS.LIB/GEMLIB.LIB/GETMQMSG.PGM">
      <data name="MQMESSAGE" type="character" length="256" usage="input" />
   </program>
</pcml>

On Tue, Sep 25, 2018 at 2:19 PM Jack Woehr <[email protected]>
wrote:

> Does the PCML doc exist? Can you post it?
>
>  I suspect you are confusing a program call that "just calls" a program
> with a program call that uses PCML/XPCML to describe the call.
>
>
> > On Tue, Sep 25, 2018 at 1:08 PM Gerald Magnuson <
> > [email protected]> wrote:
> >
> >>
>
> > I am getting the following errors:
> >> Recv.java:39: error: unreported exception PcmlException; must be caught
> or
> >> declared to be thrown
> >>         pcd = new ProgramCallDocument (as400, "GETMQMSG");
> >>
> >
> >
> --
> Absolute Performance, Inc.
> 12303 Airport Way, Suite 100
> Broomfield, CO 80021
>
> NON-DISCLOSURE NOTICE:  This communication including any and all
> attachments is for the intended recipient(s) only and may contain
> confidential and privileged information.  If you are not the intended
> recipient of this communication, any disclosure, copying further
> distribution or use of this communication is prohibited.  If you received
> this communication in error, please contact the sender and delete/destroy
> all copies of this communication immediately.
> --
> This is the Java Programming on and around the IBM i (JAVA400-L) mailing
> list
> To post a message email: JAVA400-L-Zwy7GipZuJhWk0Htik3J/[email protected]
> To subscribe, unsubscribe, or change list options,
> visit: https://lists.midrange.com/mailman/listinfo/java400-l
> or email: JAVA400-L-request-Zwy7GipZuJhWk0Htik3J/[email protected]
> Before posting, please take a moment to review the archives
> at https://archive.midrange.com/java400-l.
>
>
-- 
This is the Java Programming on and around the IBM i (JAVA400-L) mailing list
To post a message email: JAVA400-L-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/java400-l.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.