×
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.
%kds could have been kick @$$ if it allowed for a variable (instead of a
constant) to specify how many fields in the key list should be used. If
it could do that, I'd be using %kds a bit more. As it stands, I never
use it.
Kurt Anderson
Application Developer
Highsmith Inc
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of
Tommy.Holden@xxxxxxxxxxxxxxxxxxxxx
Sent: Thursday, July 26, 2007 11:41 AM
To: RPG programming on the AS400 / iSeries
Subject: Re: Compile of Free Format
a KLIST is a key list...some OS versions do not support inline keys
(v5r1) the only supported methods i know of are %KDS() (which IMO sucks)
or using a single or KLIST.
Thanks,
Tommy Holden
Duane Kehoe <dkehoe@xxxxxxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
07/26/2007 11:39 AM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
To
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
cc
Subject
Re: Compile of Free Format
Do you mean klist?
I haven't used a klist in a very long time, don't particularly like
them,
prefer to use program variables dynamically. I think it makes things
more
visible as well as more straight forward. Just my 2 bits, thanks.
Tommy.Holden@xxxxxxxxxxxxxxxxxxxxx wrote:
that also works for key lists just omit the parens...
Thanks,
Tommy Holden
Duane Kehoe <dkehoe@xxxxxxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
07/26/2007 11:29 AM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
To
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
cc
Subject
Re: Compile of Free Format
Thanks, never really knew that. But then again I don't really have
too
many files with a single key field.
Craig Jacobsen wrote:
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.