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



Wow was the TAATOOL route ugly.

The first problem is it doesn't know how to use the libl for /copy lines. For example, QRPGLESRC,COPYMBR, it uses the first QRPGLESRC file in the libl and looks for member COPYMBR. When it doesn't find the copybook, it abends. So I had to edit and hard code the library names on all of the /copy lines.

I finally got it to run without abending.
32 pages of errors and warnings, many of them "couldn't find the field definition so the field was dropped".
It didn't like that the program was printing arrays so it changed the names on them. For example, QTY(1) in the o spec was changed to QTY$1$ in the DDS. It also has a variable named A with a value of 10 that was used to print the 10th occurrence in the o specs like QTY(A). That field was changed to QTY$A$ so the fact that "A" was a variable is lost in the conversion.

I'm heading for the JCRCMDS next.


-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Dexter Thompson
Sent: Friday, December 18, 2020 9:42 AM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: [EXTERNAL] Re: O specs

Just discovered there is a TAATOOL command that is supposed to execute the conversion, CRTEXTPRTF. I have never used it before. If you try it, please post the results, good or bad. Thanks

On Fri, Dec 18, 2020 at 9:39 AM Brian Parkins <goodprophet.bp@xxxxxxxxx>
wrote:

Have you taken a look at Craig Rutledge's excellent (open source)
Tools (JCRCMDS)?

http://www.jcrcmds.com/ <http://www.jcrcmds.com/>

There are a couple that might help.

Brian.

On 18/12/2020 14:22, smith5646midrange@xxxxxxxxx wrote:
I have to changes some fields sizes in an RPG program that has about
700 lines of o specs. Is there a utility somewhere that would
convert these
to
a viewable print file or even better create DDS for the PRTF? I
tried printing the report but most fields are not full and some are
empty so I can' easily tell when they start and stop.


--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com




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.