× 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 use Craig's tools as well, but it hadn't occurred to me to use a user action for them.

I'm forever looking to get RDP to do everything that I could do on an interactive session, so I created some of the user actions for JCR commands I tend to use. However, I tried putting the JCR4PROTO in as a user action and it fails everytime when I run it on a RPGIV program that defines parameters with the LIKE keyword. The same JCR4PROTO command works on an interactive session, but not in RDP. I think this might have something to do with the QTEMP files it creates, but I am not sure. Does it really work for anyone else from RDP?


-Paul.


-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Vernon Hamberg
Sent: 27 March 2013 12:20
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries
Subject: Re: [WDSCI-L] RDP 8.0.3 BOMBS on >Source>New>Procedure

Ken

I made a user action from at least a couple of Craig's commands. One is JCR4PROTO - it makes prototyped calls out of *ENTRY and CALLs with PARMs, etc. And JCR4MAX finishes what CVTRPGSRC didn't, like making EVALs out of MOVEs, etc. Lots of other things that can be helpful. And source is provided, if you don't like something or other exactly how Craig has done it. There are some things he puts in columns 1-5 that I might change someday.

I'm curious about the indenting question - I have used the indent option in RPGLE for /free - I do have some issues with it, but generally it has served me well. What is in the Java one that we could take advantage of?
I've not been to that dark side for a long time - heh - just kidding about the dark side!

Vern

On 3/27/2013 6:15 AM, Ken Killian wrote:
Vernon,

Yup, that is the one I use, the RPGTOOLBOX from Linoma Software. I programmed it in as "User Action" to Convert/Update to Free RPG.

RDP "User Actions" works exactly as "PDM Options", exact same syntax.
For those newbies that don't know... <grin>

Craig Rutledge is Brilliant! I love his open source tools. I have learned so much from his code! Many Kudos to Mr. Rutledge!

I am just very glad that my employer had purchased the RPGTOOLBOX before I even came on board. I use it extensively to update my Free-indent....

I *think* someone put in a PFE for RDP to Indent/format code. The Code formatting for Java on Eclipse is AWESOME! You seem to have complete control for your formatting preferences! It would be "nice" to have something like for RPGLE. But, I have a work around, RPGTOOLBOX.

I should try Craig's tool, but currently I am back-logged on work again...

Oh well, back to work!


-Ken Killian-
(423) 510-3129

-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx
[mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Vernon Hamberg
Sent: Tuesday, March 26, 2013 8:29 PM
To: Rational Developer for IBM i / Websphere Development Studio Client
for System i & iSeries
Subject: Re: [WDSCI-L] RDP 8.0.3 BOMBS on >Source>New>Procedure

Linoma has tools for converting RPG stuff - no problem mentioning them, since I only sort-of applied once to work there and didn't get a job.

Craig Rutledge has some open-source tools, one does a nice job of converting source. Google his name and you'll find him - jcrcmds.com, I think it is. And free.

Vern

On 3/26/2013 3:41 PM, Ken Killian wrote:
Gary,

My problem I believe is caused by No Hard-Code Program Name in the
"PI" (a.k.a. New Style Entry parameters)... <grin>

I would recommend to use Free-Format for SQLRPGLE...

After all, SQL is Free-Format. And RDP has a nice built in Convert to
Free Format, if you do NOT already know about that... <grin>

Luckily, I get to do all my new work in Free-Format. No more Fixed format for me!
I have converted most of my programs to Free-Format when performing updates. Most, but not all...

There are 3rd party tools out there that do a much better job than
the IBM Conversion utility. But, unless they are FREE, I am not
supposed to mention them on this form... (The rules)

PS. I delete the Prototypes, since I am on V7R1M0, and the prototypes are NO Longer needed! <Joy Joy> But, that "New Procedure Wizard" still puts them out there, which I remove the prototypes.

I hate if I need to update the parameters in TWO places on a procedure. So, since V7R1M0 does not require them, I delete them! Besides, I can see the prototypes with the Code-Assist anyway!

-Ken Killian-
(423) 510-3129


-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx
[mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Gary Thompson
Sent: Tuesday, March 26, 2013 4:03 PM
To: Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries
Subject: Re: [WDSCI-L] RDP 8.0.3 BOMBS on >Source>New>Procedure

Ken,
I have not been using >Source>New>Procedure I am on 8.0.3 for some time I just tried it and got the RPG Procedure - Create RPG procedure window I created MyNewSubPrc - seems OK I see the Prototype, the new sub proc, the outline was updated, nice . . .

Maybe (this from my experience) there is another "error"
causing 8.0.3 to "go away" - I have this problem,
seems to be caused by one of several conditions,
my latest was entering some embedded SQL and
neglecting to type the "+" on a fixed format
line within my SQL statement...minor things
like this seem to eventually cause RDP to exit . . .


-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx
[mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Ken Killian
Sent: Tuesday, March 26, 2013 1:42 PM
To: Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries
Subject: [WDSCI-L] RDP 8.0.3 BOMBS on >Source>New>Procedure

Hi,

I must assume that IBM supports a few releases of RDP, just like it
does with the"IBM i". <Smile>

I am using RDP 8.0.3, and I am using this option:
Source>New>Procedure
It blows up....

It worked in WDSC 7.0, rdi 7.5, rdp 7.6....

So, I have been using this for a Long time. I think it worked on WDSC 6.0 too, not sure.

Sadly, it just "KILLS" RDP, and no warning messages....
RDP just "goes away" with NO warning...

Has anyone else ran into this Error on RDP 8.0.3?

Yes, I can create my procedure manually, but why is it blowing up? Or am I the only one encountering this error?

Any insight would be appreciated.

Thanks!


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


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

--
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 email 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:

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.