|
Put the n after the CHAIN statement C KEY CHAIN (N) FILE. Thanks, Mark Mark D. Walter Senior Programmer/Analyst CCX, Inc. mwalter@xxxxxxxxxx http://www.ccxinc.com "Buzz Fenner" <bfenner@jonesboroc To: "RPG Discussion" <RPG400-L@xxxxxxxxxxxx> wl.org> cc: Sent by: Subject: CHAIN & Operation Extender rpg400-l-bounces@mi drange.com 09/16/2003 04:45 PM Please respond to RPG programming on the AS400 / iSeries 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-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.