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



I meant replace begsr with dcl-proc, not replace exsr with dcl-proc. Sorry
for the confusion.




From: darren@xxxxxxxxx
To: "midrange-WDSC WDSC message board" <wdsci-l@xxxxxxxxxxxx>
Date: 06/25/2014 01:48 PM
Subject: [WDSCI-L] Mass replace exsr with callp ()
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx>




With the new free form declarations, its become fairly easy to convert exsr
into dcl-proc and endsr into end-proc. Then I do a find/replace to convert
exsr into CALLP, however, is there a good way to put a open/close paren ();
at the end of the call? For example, I want to convert EXSR $MAIN; into
CALLP $MAIN();

I would settle for a way to use the filter to selection screen to change
everything shown from ; to (); but I can't find a way to make what is shown
on the filter, the only thing that will be changed in the find/replace.

--
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: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.



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.