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



Hi Jade -

>Thanks for the suggestion, but MOVE isn't supported in free-form RPG.  As
>much as it pained me to do it, I used the following code:
>
>  /end-free
>c                   move      $entry_year   parm_year40
>  /free
>
>I think I'll have to look into my options using data structures.

If you are sure that the character field always contains numeric digits,
you can define the input field in RPGLE on a D-spec as zoned decimal.  You
don't need a data structure and you don't need a move.

Ken
http://www.ke9nr.org/
Opinions expressed are my own and do not necessarily represent the views of
my employer or anyone in their right mind.



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.