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



CRPence skrev den 11-03-2008 21:29:
When I first saw the question in the original post, I was convinced that the PCML already existed, or [maybe just a dream or wish] there was some kind of wizard to generate the PCML from a\the header file. I did not find the former, and I spent only a bit longer looking for the latter; I found effectively nothing. Oddly I did encounter a web page which by chance, without my searching for that API name, actually had the QWCRSSTS API mentioned in results of searching for PCML.

Regarding header files, the OPTION(13) of i5/OS has available for example:
QSYSINC/QRPGLESRC MBR(APIname)

Other files in that library have different language declaration headers.
Many thanks! This is a very interesting suggestion, and there is really a lot of different language bindings.
Unfortunately it seems that there is no PCML files, and that the Program Calll Bean Wizard in WSDCi disliked the Cobol header file I threw at it (I tried opening QCBLLESRC.FILE/QUHRHLPT.MBR and it complains that "The program definition could not be obtained from the Cobol source code"). The iSeries Error Log pane shows

LNC1904 Program COBOLPGM00 syntax checked. Errors found.
LNC1030 '77' not valid. Restarting at next period, COBOL verb or start of clause.
LNC0034 Program-name expected; Default program-name 'COBOLPGM00' assumed.
LNC0010 '77' not valid in Area A. Accepted as if in Area B.
LNC0917 COBOL reserved word or special character 'IDENTIFICATION' expected. 'IDENTIFICATION' assumed.
LNC0018 Input ignored starting with '77'.
LNC0518 Comment(s) found before IDENTIFICATION DIVISION header. Accepted.

which to my untrained eye looks like it wants a complete program (and then do the interface to that) and that the header file is insufficient.

Is there any suggestions to make this work?

In the meantime I'll look around to see if there is something which rather easily can be massaged into something usable from Java. I'd appreciate any help, and I'll report back with what I find.

This is a fun exercise :)


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.