Can you post the pertinent parts of your code? If different files are involved, make sure you note that. I take it that this is a compile time error. Bob -----Original Message----- From: firstname.lastname@example.org [mailto:email@example.com]On Behalf Of firstname.lastname@example.org Sent: Friday, June 21, 2002 2:59 PM To: email@example.com Subject: [C400-L] Embedded SQL - SQLC All, Has anyone any examples of or insight to fetching multiple rows into a struct? I've been following the example in the SQL Programming with Host Languages book and even keying their example on page 27 verbatim and I can not get it to compile. The error I get is that the struct is undefined or unusable. Unusable must be it because in the compile listing I can see that it was defined. Any help would be greatly appreciated, Phil _______________________________________________ This is the C programming iSeries / AS400 (C400-L) mailing list To post a message email: C400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/c400-l or email: C400-Lfirstname.lastname@example.org Before posting, please take a moment to review the archives at http://archive.midrange.com/c400-l.