×
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.
You can always just move the definition up to the global level.
Brian May
Project Lead
Management Information Systems
Garan, Incorporated
Starkville, Mississippi
Young i Professionals
http://www.youngiprofessionals.com
"Doug Palme" <DPalme@xxxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
12/02/2009 04:02 PM
Please respond to
RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
To
RPG programming on the IBM i/System i <rpg400-l@xxxxxxxxxxxx>
cc
Subject
Is this an issue or is there a work around (DTAARA in Sub Procedures)
I was converting some existing cycle code to /free format in a
subprocedure and ran across the following issue with a data area:
1416 DDebitNmbrS s 6 0 Dtaara(DebitNmbr)
======> aaaaaa
*RNF3757 20 a 022401 The keyword is not valid for definitions in
subproc
Is there any way to do this in s sub procedure or am I stuck with using a
sub routine only? The reason I ask is because I came across the following
on the IBM site:
No cycle code is generated for subprocedures. Consequently, you cannot
code:
Prerun-time and compile-time arrays and tables
*DTAARA definitions
Total calculations
As an Amazon Associate we earn from qualifying purchases.