Kurt,
Instead of just doing COMPILE, do a COMPILE PROMPT. You can then change the
default *PGM to *MODULE.
-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On
Behalf Of Kurt Anderson
Sent: Tuesday, April 22, 2014 12:12 PM
To: 'Rational Developer for IBM i / Websphere Development Studio Client for
System i & iSeries (wdsci-l@xxxxxxxxxxxx)'
Subject: [WDSCI-L] RDi Compile - SQLRPGLE as Module
Since I'm new to compiling in RDi, I wanted to check here first before I
created an RFE.
When in an SQLRPGLE source, the compile commands available are:
CRTSQLRPGI (PDM option 14 for SQLRPGLE)
CRTBNDRPG (PDM option 14 for RPGLE)
CRTRPGMOD (PDM option 15 for RPGLE)
What's missing here is PDM option 15 for SQLRPGLE.
The list of compile commands available does seem to be based on the source
type, so why not, for SQL, have the following (this is my RFE idea):
CRTSQLRPGI - *PGM (PDM option 14 for
SQLRPGLE)
CRTSQLRPGI - *MODULE (PDM option 15 for
SQLRPGLE)
I know I can Compile with prompt and change the OBJTYPE to *Module, but I'd
have to do that every time, and I'm spoiled by PDM doing it for me.
It could be even smarter (for both RPGLE & SQLRPGLE) and based on the
presence of NOMAIN in the source, it can default to the appropriate compile
- that way I can simply use the Compile button for my module coding vs the
menu.
Thoughts?
Kurt Anderson
Sr. Programmer/Analyst - Application Development, Service Delivery Platform
[cid:image002.jpg@01CD16F9.25D27630]
web: www.customcall.com<
http://www.customcall.com/> | email:
kurt.anderson@xxxxxxxxxxxx<mailto:kurt.anderson@xxxxxxxxxxxx>
A Division of Enghouse Systems Ltd.<
http://www.enghouse.com/> (TSX:ESL)
As an Amazon Associate we earn from qualifying purchases.