|
I must be missing something simple and obvious. I'm trying to use some externally defined data structures based on several different record formats in a display file. When I compile the program I get a warning that "*RNF3530 00 2 Data structure has no valid subfields. " (This one comes from a program that has two of them.) The problem is that the fields don't get defined in the program although the data structure does. I wrote a minimal test program with two data structures defined from the same display file and got the same results. For the sake of brevity I built a display file that only includes abridged versions of the two record formats. Same results. Here's the code: Display File: A DSPSIZ(24 80 *DS3) A R NAMADR A OVERLAY A 4 2'Name :' A ADRNAME R O 4 18REFFLD(RREF/NAME U#LIB/U#REFP) A ADRACCT R Y O 4 49REFFLD(RREF/ACCT U#LIB/U#REFP) A EDTWRD(' - - ') A R SELECTOR A OVERLAY A 4 2'Name:' A SELNAM 30 B 4 13 A 5 2'ZIP' A 5 6':' A SELZIP 9A B 5 13 Program: D namescr e ds extname(ci001dxxx : namadr ) D selscr e ds extname(ci001dxxx : selector) C eval *inlr = *on Here's the part of the compile listing that's relevant: S o u r c e L i s t i n g 1 D namescr e ds extname(ci001dxxx : namadr ) *--------------------------------------------------------------------------- -----------------* * Data structure . . . . . . : NAMESCR * * External format . . . . . : NAMADR : JEFTST/CI001DXXX * *--------------------------------------------------------------------------- -----------------* ======> aaaaaaaaaaaaaaa *RNF3530 00 a 000200 Data structure NAMESCR has no valid subfields. 2 D selscr e ds extname(ci001dxxx : selector) *--------------------------------------------------------------------------- -----------------* * Data structure . . . . . . : SELSCR * * External format . . . . . : SELECTOR : JEFTST/CI001DXXX * *--------------------------------------------------------------------------- -----------------* 3=D SELNAM 30A 4=D SELZIP 9A 5 C eval *inlr = *on * * * * * E N D O F S O U R C E * * * * * NOTICE: All e-mail sent to or from this e-mail address will be received or otherwise recorded by The Sharper Image corporate e-mail system and is subject to archival, monitoring, review by and/or disclosure to Sharper Image security and other management. This message is intended only for the use of the addressee and may contain information that is privileged and confidential. If you are not the intended recipient, dissemination of this communication is prohibited.
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.