× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Yep, you could create a CRTSQLRPGP compile option and a CRTSQLRPGM - defaults use the commands available, and for some reason IBM put module and program options into one command for SQL, where they have been separate for everything else.

HTH
Vern

On 4/22/2014 11:33 AM, Ken Killian wrote:
Kurt,

I put several different compiles on my "Work with Compile"...

I pull down the compile menu, to select the type of compile I wish to perform...

For RPGLE, I have these custom Compile Options:
CRTRPGMOD
CRTBNDRPG
CRTPGM

SQLRPGLE:
CRTSQLRPGI
CRTPGM
CRTRPGMOD
CRTBNDRPG

With RDI, customize for your preferences!

Compile>Work with Compile Commands...
I have all my compile compiled as DBGVIEW(*ALL), to help me easily debug. And have a few other options overridden from the defaults.

Very nice we customized for our own personal references!

Hope this helps a little bit.

Just create/Modify the compile options that you need.



-Ken Killian-
IBM i running on Power-System, Mobile Comm Developer Back-End.
http://angustheitchap.com/familytreedates.jpg
(423) 510-3129


-----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.

This thread ...

Replies:

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

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.