|
Thanks Ken. I already have *SRCLIB which is what I want.
Is the &O part of Isphere or RDi?
Art
On Fri, Dec 15, 2017 at 9:31 AM, Ken Killian <kkillian@xxxxxxxxxxxx>
wrote:
Art,
I change my RDI to compile in my &O library, which I set to my library...
windows > preferences > Remote Systesm > IBM I > Command Execution:
1.) Uncheck Compile in Batch. My preference. :)
2.) Change the "Object Library" from *SRCLIB to your library, for
instance if you want that.
Then on your compiles, that the variable &O, which is the default of
*SRCLIB.
Hope that might help a little bit...
Also, you might want to promote up your command, to verify that it works.
Just a hint...
-Ken Killian-
-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Art
Tostaine, Jr.
Sent: Friday, December 15, 2017 9:16 AM
To: Rational Developer for IBM i / Websphere Development Studio Client
for System i & iSeries <wdsci-l@xxxxxxxxxxxx>
Subject: Re: [WDSCI-L] ISphere question
Thanks Thomas. I don't understand where to add the &O. STRPREPRC on the
i does have LIB(*NONE)
Do I change that using CHGCMDDFT? I tried to put &O as the default but
that's not allowed.
In RDi, when I right click to insert new commands, I try to insert
variable but &O isn't there.
Thanks.
On Fri, Dec 15, 2017 at 1:14 AM, Thomas Raddatz <thomas.raddatz@xxxxxx>
wrote:
Art,SRCFILE(PTILIB/QRPGLESRC)
My best bet is that your forgot to specify a value for LIB parameter
at the STRPREPRC command:
Pre-Prozessor starten (STRPREPRC)
Type choices, press Enter.
Objekt-Quellenbibliothek . . . . OBJSRCLIB cSAME
Objekt-Quellenteildatei . . . . OBJSRCMBR *SAME
Additional Parameters
Wert für Bibliothek (&LI) LIB *NONE
Wert für Objekt (&OB) OBJ *NONE
My overall general purpose user option for compiling objects looks
like
this:
STRPREPRC USESRCFILE(&L/&F) USESRCMBR(&N) OPTION(*EVENTF) CHGOBJD(*NO)
LIB(&O) OBJ(&N) SRCLIB(&L) SRCFILE(&F) SRCMBR(&N)
Please notice that I pass "&O" at the "LIB" parameter.
Thomas.
-----Ursprüngliche Nachricht-----
Von: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] Im Auftrag von Art
Tostaine, Jr.
Gesendet: Donnerstag, 14. Dezember 2017 21:52
An: Rational
Betreff: [WDSCI-L] ISphere question
I reinstalled it on my 9.6 installation. My compiles won't work now,
it's looking for the &LI substitution variable I think. The messages
window shows
STRPREPRC USESRCFILE(PTILIB/QRPGLESRC) USESRCMBR(DLOR10501R) Missing
value for replacement variable at position 15 of command string.
Creation command: CRTBNDRPG PGM(&LI/DLOR10501R)
SRCMBR(DLOR10501R) OPTION(*EVENTF) DBGVIEW(*ALL) TRUNCNBR(*NO)
Execution canceled in line 9.00.
Information . . : If the line number is 0,00, then the error occured
during the creation command was checked.
Here are my pre-compiler statements
* >>PRE-COMPILER<< */
* >>CRTCMD<< CRTBNDRPG PGM(&LI/&OB) SRCFILE(&SL/&SF) + */
* SRCMBR(&SM); */
* >>IMPORTANT<< */
* >>PARM<< OPTION(*EVENTF); */
* >>PARM<< DBGVIEW(*ALL); */
* >>PARM<< TRUNCNBR(*NO); */
* >>END-IMPORTANT<< */
* >>EXECUTE<< */
* >>END-PRE-COMPILER<< */
--
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@xxxxxxxxxxxx To subscribe, unsubscribe, or change list
options,
visit: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at https://archive.midrange.com/wdsci-l.
--
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@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at https://archive.midrange.com/wdsci-l.
--
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@xxxxxxxxxxxx To subscribe, unsubscribe, or change list
options,
visit: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/wdsci-l.
--
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,
visit: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/wdsci-l.
--
Art Tostaine
As an Amazon Associate we earn from qualifying purchases.
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.