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





-----Message d'origine-----
De : rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] De la part de thomas.raddatz@xxxxxx
Envoyé : mardi 3 décembre 2013 13:43
À : rpg400-l@xxxxxxxxxxxx
Objet : Re: Use RDi in the IFS and make autocompletion work


One more thing that I figured out. Live parsing and autocomplete works, when the copy books are full qualified like this:

*
* -----------------------------------------
* Exported functions
* -----------------------------------------
/COPY /home/raddatz/ubmsys/QBASICS1/pbasics1rb.rpgle
*

It also works when the current directory is set to the folder of the copy books, which can be achieved with parameter 'Initial command' of the subsystem properties of the remote connection:

Initial command: CD '/HOME/RADDATZ/UBMSYS/QBASICS1/'

*
* -----------------------------------------
* Reference fields
* -----------------------------------------
/COPY basics1r0.rpgle

Thomas.

rpg400-l-bounces@xxxxxxxxxxxx schrieb am 03.12.2013 12:13:14:

Von: thomas.raddatz@xxxxxx
An: rpg400-l@xxxxxxxxxxxx,
Datum: 03.12.2013 12:13
Betreff: Antwort: Use RDi in the IFS and make autocompletion work
Gesendet von: rpg400-l-bounces@xxxxxxxxxxxx


I assume that this issue is a defect in RDi. When I try to open a copy
book from the /COPY statement of an IFS source file, I receive error
message EVFR0026 "*LIBL/*LIBL/QRPGLESRC('H_SPEC.rpgle') not found."
That

implies to me that RDi tries to open a member of a source physical
file instead of an IFS file:



The module compiles fine using the following command:

CRTRPGMOD MODULE(QTEMP/BASICS1RB)
SRCSTMF('/home/raddatz/ubmsys/QBASICS1/basics1rb.rpgle')

Since the compiler locates the included IFS file, it should be a bug
in RDi.

Thomas.

rpg400-l-bounces@xxxxxxxxxxxx schrieb am 03.12.2013 09:43:16:

Von: cmartin@xxxxxxxxxxxxxxx
An: rpg400-l@xxxxxxxxxxxx,
Datum: 03.12.2013 09:43
Betreff: Use RDi in the IFS and make autocompletion work Gesendet
von: rpg400-l-bounces@xxxxxxxxxxxx

I put my rpgle sources in the IFS for ages.
There is a lot of benefits.
I can put my sources in a git repository (http://www.git-scm.com/).
I can create files and folders with a long name.
I can organize sources in subfolders, etc.
It is worth it.

There is something that bother me a little.
If I put my rpgle sources in qsys instead, using RDi, I can use
autocomplete from copied sources.
I don't have this feature in the IFS, and I want it.

What does it mean :
When i have 2 sources in QSYS :
------------------------
Source1.rpgle :
P DisplayHelloWorld...
P b EXPORT
D pi
/free
dsply 'Hello world';
/end-free
P e
------------------------
Source2.rpgle :

/free
//I type "D" => RDi suggest "DisplayHelloWorld" (and
parameters,
etc.)
DisplayHelloWorld();
/end-free

/copy LIB/qrpglesrc,source1
------------------------

If I have 2 sources in the IFS :
------------------------
SourceIfs1.rpgle :
P DisplayHelloWorld...
P b EXPORT
D pi
/free
dsply 'Hello world';
/end-free
P e
------------------------
SourceIfs2.rpgle :

/free
//I type "D" => RDi don't suggest "DisplayHelloWorld"
DisplayHelloWorld();
/end-free

'SourceIfs1.rpgle'
------------------------

This missing feature is quite annoying, is there any way to get it
back
?
--
This is the RPG programming on the IBM i (AS/400 and iSeries)
(RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at
http://archive.midrange.com/rpg400-l.



--
IMPORTANT NOTICE:
This email is confidential, may be legally privileged, and is for the
intended recipient only. Access, disclosure, copying, distribution, or
reliance on any of it by anyone else is prohibited and may be a
criminal offence. Please delete if obtained in error and email
confirmation to the sender.-- This is the RPG programming on the IBM i
(AS/400 and iSeries)
(RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/rpg400-l.



--
IMPORTANT NOTICE:
This email is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and email confirmation to the sender.
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.