rodneygray
asked on
Compile RGP program to a different library
Copied an RPG program to a different member/library (QRPGSRC/DLLSRC37). Now i want to compile that member to DLLOBJ37 (library for compiled object storage). Using STRPDM, I enter 14 in front of the member and press F4. Screen appears with the following. How can I tell the system to compile to DLLOBJ37 instead of DLLSRC37?
Program... APCKTFR
Library..... DLLSRC37
Source..... QRPGSRC
Library.... DLLSRC37
Source Member.. APCKTFR
Generation Sec Level.. 9
Replace Program.. NO
F10 Additional Parameters
Source listing options
Generation options
Source Listing indentation
Program... APCKTFR
Library..... DLLSRC37
Source..... QRPGSRC
Library.... DLLSRC37
Source Member.. APCKTFR
Generation Sec Level.. 9
Replace Program.. NO
F10 Additional Parameters
Source listing options
Generation options
Source Listing indentation
You can do the 14/F4 each time you compile or...
F18 then key the target lib.
That is where all 14s will go.
Steve Bowdoin
F18 then key the target lib.
That is where all 14s will go.
Steve Bowdoin
Hi
what I do is in PDM is:
F18 - change detauts
set the
Object library . . . . . . . *CURLIB
then in F16 (Work with User-Defined Options) i have and option CL chgcurlib &l
I simply use CL F4 and put the object library in the library name
then option 14 always compiles into the current library.
Dave
what I do is in PDM is:
F18 - change detauts
set the
Object library . . . . . . . *CURLIB
then in F16 (Work with User-Defined Options) i have and option CL chgcurlib &l
I simply use CL F4 and put the object library in the library name
then option 14 always compiles into the current library.
Dave
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Library..... DLLOBJ37
Source..... QRPGSRC
Library.... DLLSRC37
The library name under the Program name tells the compiler where to place the object.
Note: You have to be sure all the objects the program references exist in your library list when you compile the program.