× 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 found the problem

RDi does not like the underscore in the names and was producing error
messages when it should not have

Tried it in SEU and it worked normally

Thanks all

Darryl

On Thu, Aug 29, 2019 at 6:46 PM Vernon Hamberg <vhamberg@xxxxxxxxxxxxxxx>
wrote:

Darryl, are you talking about long table names, not format names? I
thought format names were limited to 10, as Jon suggests.

But isn't the rename in RPGIII in an FK (I think) continuation format
source record?

Here's an example -

FMT ** ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6
...+... 7
0048.00 FCKEMPEFFIF E K DISK
0049.00 F EMPLMSFM KRENAMEEMPEFFFM

HTH
Vern

On 8/29/2019 2:23 PM, Jon Paris wrote:
The simple answer is to convert it to RPGIV and use Rename.

Is that not on option? Why would you keep it in RPG III?

Regardless the RENAME keyword on the F-spec continuation line is
probably what you need. But since RPG400 can use 10 character record names
I'm having problems understanding why this is an issue. If the table was
created with SQL it will have short names for everything anyway.



On Aug 29, 2019, at 4:14 PM, dfreinkel@xxxxxxxxxxxxxxxxx wrote:

I have a few tabled with long format names and need to rename the
format for
use in a RPG III program.



I have tried all the I prompts but could not work it out.



TIA



Darryl Freinkel

Telephone: 770.321.8562 Mobile: 678.355.8562



--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


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.