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



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.

This thread ...

Follow-Ups:
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.