Thomas: I changed the template per Barbara's suggestion for a "non **free"
and it's working for me.

On Wed, Sep 11, 2019 at 11:12 AM Tools/400 <thomas.raddatz@xxxxxxxxxxx>
wrote:

Yes, just replace the asterisks with double slashes and you are done.

The problem is that the STRPREPRC header templates are loaded from files
or internal sources identified by the source member type and since
**free-members have the same member type as non-**free members, the
plug-in cannot load the template more specific.

But if all your source members are **free, then you can edit the
templates like this:

1) Open the STRPREPRC preference page
2) Click the EXPORT button to export the internal templates to the
directory that is specified at the "Templates directory" property.
3) Edit the template the rpgle and sqlrpgle templates to match your needs.

However I will think about to enhance the STRPREPRC plugin to check the
first line for **free and then load a different template.

Hope that helps,

Thomas.

Am 11.09.2019 um 16:06 schrieb Art Tostaine, Jr.:
Hi Thomas: When I insert it looks like this.
**free
* >>PRE-COMPILER<< */
* >>CRTCMD<< CRTSQLRPGI SRCFILE(&SL/&SF) SRCMBR(&SM); */

So I should just add the // before each line? Thanks.

Art

On Wed, Sep 11, 2019 at 2:00 AM Thomas Raddatz <thomas.raddatz@xxxxxx>
wrote:

Hi Art,

I do not understand the problem, because the following statements work
fine for me and the compiler:

**free
//

==========================================================================
// iRPGUnit Dev. of RDP Plugin. Produce Job Log.
//

==========================================================================
// Copyright (c) 2013-2019 iRPGUnit Project Team
// All rights reserved. This program and the accompanying materials
// are made available under the terms of the Common Public License v1.0
// which accompanies this distribution, and is available at
// http://www.eclipse.org/legal/cpl-v10.html
//

==========================================================================
// >>PRE-COMPILER<<
// >>CRTCMD<< RUCRTTST TSTPGM(&LI/&OB) +
// SRCFILE(&SL/&SF) SRCMBR(&SM);
// >>IMPORTANT<<
// >>PARM<< COPTION(*SRCSTMT *EVENTF);
// >>PARM<< DBGVIEW(*LIST);
// >>END-IMPORTANT<<
// >>EXECUTE<<
// >>END-PRE-COMPILER<<
//

==========================================================================

ctl-opt option(*srcstmt);
ctl-opt nomain;

/include qinclude,TESTCASE

dcl-proc Test_BadCall export;
dcl-pr bad_pgm extpgm;
end-pr;
bad_pgm();
assert (%status() = 0 : 'Expect status <> 0');
end-proc;


Regards,

Thomas.

-----Ursprüngliche Nachricht-----
Von: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxxxxxxxx] Im Auftrag von
Art Tostaine, Jr.
Gesendet: Dienstag, 10. September 2019 23:18
An: Rational Developer for IBM i / Websphere Development Studio Client
for
System i & iSeries
Betreff: [WDSCI-L] ISphere STRPREPRC in **FREE?

How can I use *FREE and still use the source compile commands?

Putting it before the commands lets me code from position 1, but all of
the
source commands have syntax errors. Put it after and I can't use
position
1-6.

--
Art Tostaine
--
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@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/wdsci-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
--
IMPORTANT NOTICE:
This email is confidential, may be legally privileged, and is for the
intended recipient only. Access, disclosure, copying, distribution, or
reliance on any of it by anyone else is prohibited and may be a criminal
offence. Please delete if obtained in error and email confirmation to
the
sender.

--
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@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/wdsci-l.

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




--
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@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/wdsci-l.

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




This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].