Free yourself from Punch-Card Mentality...

Use external Printer files, which RDI supports.

Or you could use a data-structure for Printer files.

Welcome to the 21st century, Punch-card machines and Punch-card-Mind-set are no longer required!

Sample dummy code:

dcl-f qsysprt printer(198);

dcl-ds output len(198) end-ds;

output = 'Print line-one';
write qsysprt output;

output = '**** my audit report ****';
write qsysprt output;

*inlr = *on;

output = '*INLR = ' + %char(*inlr);
write qsysprt output;


PS. You could map Data-structure like your old O-spec. Which is what some do.
My preferred method is external printer files. Which using the designer inside of RDI is the way to go!

-Ken Killian-

-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxx> On Behalf Of Dan
Sent: Thursday, May 3, 2018 12:01 PM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries <wdsci-l@xxxxxxxxxxxx>
Subject: Re: [WDSCI-L] Inline Syntax Checking

You don't have to worry about /copy members; the compiler handles that automatically. For any comments with * in column 7, just add // somewhere before it.

Also, in addition to **free, there is **end-free, which does what you think it does. I believe this is undocumented and not supported, but I've used it so that I could have output specs for a report in a program I created.
IBM uses it for embedded SQL code that it converts to fixed column RPG. I suppose that, if **end-free went away, I'd have to put the O specs in a /copy member.

- Dan

On Thu, May 3, 2018 at 10:58 AM, Greg Wilburn < gwilburn@xxxxxxxxxxxxxxxxxxxxxxx> wrote:

OK now I see! :)

I stopped using the "slash-free" a long time ago. Somewhere I missed

I'm on v7r3 - just upgraded a few weeks ago. Have the latest TR.
Added **free as the first statement in one of my source members, but
now it doesn't like my comments where I used single asterisk in column
7. I would have to change the comments in my source members and all
the /copy members.

Eeek. Maybe I'll just leave things alone for now.

Thanks Dan (and Ken)!

This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at

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-2022 by 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.