|
Um "Buzz", I think the (N) goes after the Chain, not after the factor two.
Any questions? Try F1 in Code since you are using that.
Rob Berendt
--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
Benjamin Franklin
"Buzz Fenner" <bfenner@xxxxxxxxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
09/16/2003 03:45 PM
Please respond to RPG programming on the AS400 / iSeries
To: "RPG Discussion" <RPG400-L@xxxxxxxxxxxx>
cc:
Fax to:
Subject: CHAIN & Operation Extender
I've tried to code a simple CHAIN operation without a record lock (code
does
a lock later) and I cannot get the thing to compile. Here's the code:
Fglmstrl1 uf e k disk
Plus any of the following:
C
C frmact chain glmstrl1(n)
C if %found
C
C frmact chain glmstrl1 (n)
C if %found
C
C frmact chain glmstrl1(N)
C if %found
C
C frmact chain glmstrl1 (N)
C if %found
Every time, the compiler treats it as an invalid array definition.
*RNF7030 30 188 004400 The name or indicator N is not defined.
*RNF5064 20 188 004400 An array index is specified for name that is
not
an array.
I'm using CODE/400, but if I go back to SEU, the same thing happens. I
must
be rustier than I thought.
Buzz Fenner
Systems Analyst/Network Administrator
Phone: 870.930.3374
Fax: 870.930.3376
bfenner@xxxxxxxxxxxxxxxx
_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
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.