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



Paul,
Thanks for the link, I took the time to vote for this.

Not sure if an additional RFE would be in order, but another,
related enhancement, would be to be able to restrict find/replace
to the current sub-procedure - something I found useful
in VB and VBA.

Also: thank you for the brief tutorial on regular expression searches.

-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Paul Bailey
Sent: Friday, May 04, 2012 3:07 AM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries
Subject: Re: [WDSCI-L] Showing current position in outline


I am pretty sure that this is not possible in RDP at the moment, but there is an RFE that looks like it wants the same thing: <http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=11119>

A possible workaround you could use is the following key presses to find the subroutine/subprocedure's name using a regular expression search:
- Press CTRL-Q (set quick mark)
- Press ESC (LPEX command-line), type (without quotes) "findText up noWrap regularExpression begsr|^.....P.................B", press ENTER [Take note of the subroutine or procedure's name]
- Press ALT-Q (find quick mark - go back to your marked position in the source.)

If the search doesn't work then you are in the MAIN subroutine, which is something else I've always wished that the overview would show.

That works in RPG(LE), but you might have to change the findText string for COBOL (I do not know COBOL at all). Just in case you don't know, the findText string means find the previous "begsr" or find the previous beginning of a procedure (where in RPG a procedure's beginning is usually defined by a P in column 6 and a B in column 24.)


-Paul


-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Austin, Mark
Sent: 04 May 2012 08:28
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries
Subject: [WDSCI-L] Showing current position in outline

Hi guys,

Is there a preference or anything that will allow me to see where I am in the outline according to the current line in the source?

I am doing lots of find/replace in a very complicated Cobol program and after I do a find it would be very handy to be able to glance at the outline to see where abouts in the program the found string line is. Is this currently possible?

I have had a search in the archives but couldn't find anything about it.

I am using RDPi 8.0.3.

Best regards,

Mark Austin
IT Consultant
Universal Music Publishing Group
Bond House, 347-353 Chiswick High Road, London W4 4HS
Tel: +44 (0)208 742 5520 / Fax: +44 (0)208 742 5699 mark.austin@xxxxxxxxxx<mailto:mark.austin@xxxxxxxxxx>

Universal Music Publishing International Limited Registered in England. Number 02050403 Registered Office: 347-353 Chiswick High Road, London W4 4HS

________________________________
"**Confidentiality**
The information contained in this e-mail is confidential, may be privileged and is intended solely for the use of the named addressee. Access to this e-mail by any other person is not authorised. If you are not the intended recipient, you should not disclose, copy, distribute, take any action or rely on it and you should please notify the sender by reply. Any opinions expressed are not necessarily those of the company.

We may monitor all incoming and outgoing emails in line with current legislation. We have taken steps to ensure that this email and attachments are free from any virus, but it remains your responsibility to ensure that viruses do not adversely affect you.

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

Scanned by MailDefender - managed email security from intY - www.maildefender.net Important

This email transmission and any files with it are strictly confidential to the intended recipient and may be legally privileged. Any views or opinions presented are solely those of the author and do not necessarily represent those of BHSF. If you are not the intended recipient, you must not copy, disclose or distribute its contents in any way.
If you have received this e-mail in error, please notify the sender and delete the e-mail from your system.

We have taken steps to ensure this e-mail and attachments are free from any virus but do not accept any responsibility once this e-mail has been transmitted. You should scan any attachments for viruses.

No contract may be concluded on behalf of BHSF Limited by e-mail.

Registered Office:
BHSF Limited
Gamgee House, 2 Darnley Road, Birmingham B16 8TE.

www.bhsf.co.uk

Registered in England number 35500.

BHSF is authorised and regulated by the Financial Services Authority.




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.