You really don't need parents if only one field on the chain.
I bet it's a line before the chain (no semi).
HTH,
Craig
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Duane Kehoe
Sent: Thursday, July 26, 2007 12:10 PM
To: RPG programming on the AS400 / iSeries
Subject: Re: Compile of Free Format
Add parenthesis around the key and the error should go away, your command
should look like this:
1125.05 Chain ($Key_MBA2CPS0) MBA2CPS0; //002-a
Hope this helps.
Steve Seroogy wrote:
When I compile my free format program it is giving me the error:
'*RNF7030 30 1766 112505 The name or indicator CHAIN is not defined.'
The line of code looks like this:
1125.05 Chain $Key_MBA2CPS0 MBA2CPS0; //002-a
The program has many chain statements and all are formated the same way
but this is the only one that is giving me this error. I compile it
with DFTACTGRP=*NO
Steve Seroogy
Business Analyst
Phone: (262) 544-4811 x2734
Fax: (262) 968-9372
Generac Power System, Inc
Hwy 59 and Hillside Road
Waukesha, Wisconsin 53187
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.