• Subject: Re: How to define long field names
  • From: "Joe Teff" <jteff19@xxxxxxx>
  • Date: Wed, 21 Apr 1999 17:04:50 -0500

>Joe, I'm sorry I took so long to answer...  We're in the midst of moving
>and my email is a shambles.
>
>Yes, you can use long field names on any of the "extended factor 2"
>specification lines (IF, EVAL, DOW, etc. but NOT on traditional factor 2
>lines (MOVE, Z-ADD, etc.)
>
>DThisIsAReallyLongStupidNameThatExtendsBeyond...
>DTheColumnBoundaries...
>D                 s              1a
>
>C                   Eval      ThisIsAReallyLongStupidName...
>C                             ThatExtendsBeyond...
>C                             TheColumnBoundaries = 'Y'

Thanks for responding. I did figure this out. My problem wasn't using
it in my C-specs, but rather the definition in the D-specs. I tried to
define is as
   D RestrictedI...          C                  1999999
   D temClass
 because I assumed that the extended line would follow the definition
line. Once I changed it to
   D RestrictedItemClass...
   D                          C                   1999999
it worked fine. Too bad the manual didn't show an example as I thought
I was dioing exactly what it said. Maybe I just didn't find the right
manual!

Joe Teff

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the RPG/400 Discussion Mailing List!  To submit a new         *
* message, send your mail to "RPG400-L@midrange.com".  To unsubscribe   *
* from this list send email to MAJORDOMO@midrange.com and specify       *
* 'unsubscribe RPG400-L' in the body of your message.  Questions should *
* be directed to the list owner / operator: david@midrange.com          *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


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