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.
As an Amazon Associate we earn from qualifying purchases.