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



Hi Mark,

You just made me cry. About 3 years ago I wrote an application that "waded through" the source code. We used it to produce our own XML documents. A web application uses this to replace written program documentation which was too often neglected and usually duplicated in the source.

But my first attempt with the PGMINFO(*PCML) parameter didn't quite work. Despite a pretty XML document being produced, I get an error *RNF0319 ( error generating information ) and the object is not created.
It seems I can't put a date field in a parameter list :

<data name="ANEDTDL" type="" length="10" usage="inputoutput" />
- <!-- Erreur : type de donn{es non admis (E) -->

Any idea why?



-----Message d'origine-----
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] De la part de Mark S. Waterbury

I think you guys are all working too hard ... why not let the
compiler do the work for you?

Since at least V5R2, the ILE RPG IV compiler command has the
optional parameter PGMINFO(*PCML), which generates a PCML XML
file in the IFS, that you specify with the INFOSTMF parameter.

This should be a lot easier to read and parse, to find the "interface"
information -- the main procedure and its parameters, type,
length, decimal places, etc., versus trying to "wade through"
all of the RPG IV source code ... :-o

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.