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



Wow, I never saw that one coming!

It's already RPGLE, so I'm good there.




-----Original Message-----
From: Buck Calabro [mailto:kc2hiz@xxxxxxxxx]
Sent: Friday, January 15, 2016 9:26 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: INTEGER & VARCHAR() on I-specs

On 1/15/2016 9:03 AM, Justin Taylor wrote:
Charles & Jon-It's a newer version of an old RPG cycle program. I don't think I can use the external descriptions since I need the I-spec indicators.

Well that's a different problem, and something I actually do a fair amount of. The indicators all work as expected. Put the external field name in positions 49-62 (Field Name) Then specify the indicators you need:
63-64 Control Level - L1, etc
65-66 Matching Fields - M1, etc
69-74 Field Indicators - ++, --, 00

ILOCXT 02
I MSOC M1
I MSTATCD MSTATC
I MBLDCDE MBLDCD

When I need to rename an external field, I put the external name in positions 21-30, and the internal / new name in positions 49-62.

I'm pretty sure that CVTRPGSRC will handle this but I don't have any RPGIII source code left to try it myself.

--
--buck

Visit wiki.midrange.com and register for an account. Edit a page that helps you, and because it's public, you'll help someone else, too!



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.