|
hear, hear, i second this. rbbaird@premsys.com on 08/10/98 23:06:56 Please respond to RPG400-L@midrange.com To: RPG400-L@midrange.com cc: (bcc: Nick England/Pacific/UK) Subject: Re: 2 errs Mohammad, I'm not trying to discourage you, but if you are taking a course in RPG, your instructor should be answering these questions. based the on your questions, you have not been properly prepared to do the things you are trying to do. That being said, here are the answers to your questions. qcmdexc (and all programs called from RPG) should be enclosed in quotes ('). without quotes, the compiler thinks you are using a variable name to define the program. All variables must be defined to the program. I don't know what you are trying to do with QTEMP, but the compiler thinks it is a file name (QTEMP is the name of a system generated library that each user gets their own personal copy of when they sign on). Any Read operation must reference a valid file which is described in the 'F' specs. mohammad khan wrote: > > Hi everybody, > > i've compiled my pgm and got 3 sev. errors that are a little > confusing, 2 of them are.. > > The name or indicator QCMDEXC is not defined > The name or indicator QTEMP is not defined. > > and they occur in my pgm in the following manner.. > > CALL QCMDEXC > READ QTEMP 90 > > based on an earlier email, i'm pretty sure that > they're not defined in fspec. so what does the error > mean? > > sincerely, > > Mohammad > > _________________________________________________________ > DO YOU YAHOO!? > Get your free @yahoo.com address at http://mail.yahoo.com > > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > * This is the RPG/400 Discussion Mailing List! To submit a new * > * message, send your mail to "RPG400-L@midrange.com". To unsubscribe * > * from this list send email to MAJORDOMO@midrange.com and specify * > * 'unsubscribe RPG400-L' in the body of your message. Questions should * > * be directed to the list owner / operator: david@midrange.com * > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is the RPG/400 Discussion Mailing List! To submit a new * * message, send your mail to "RPG400-L@midrange.com". To unsubscribe * * from this list send email to MAJORDOMO@midrange.com and specify * * 'unsubscribe RPG400-L' in the body of your message. Questions should * * be directed to the list owner / operator: david@midrange.com * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Regards, Nick England Pacific Systems International plc Kingfisher House Frimley Business Park Camberley Surrey GU16 5SG UK http://www.pacific.co.uk Email: englann@pacific.co.uk Telephone: +44 1276 808999 Facsimile: +44 1276 808841 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is the RPG/400 Discussion Mailing List! To submit a new * * message, send your mail to "RPG400-L@midrange.com". To unsubscribe * * from this list send email to MAJORDOMO@midrange.com and specify * * 'unsubscribe RPG400-L' in the body of your message. Questions should * * be directed to the list owner / operator: david@midrange.com * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
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.