View Full Version : Monitoring compile messages
Guest.Visitor
01-01-1995, 02:00 AM
Hello, As i'm writing a sort of change management software, our programmers have the ability to checkin or -out ( from production libraries to development et vice versa ) source members. For moving from development to production we would like to compile the source member from within a CL. Is there a way to monitoring the compile result. For RPG, I know the system makes an dataarea RETURNCODE in QTEMP, where the first byte indicates if it was successfull or not. Also there is QRG9001 message indicating compile has failed. But i don't find any information for CL programs, DSPF and PRTF sources, and CMD source. Anyone who knows ? Thanks, Kurt Ceunebroucke
Guest.Visitor
09-25-2000, 06:36 AM
Kurt, It has been a while, but I am pretty sure that a monmsg is all I used when I set up a similar system. David Morris
Guest.Visitor
09-25-2000, 07:05 AM
Display objects *ALL type = *msgf; this will give you a clue as to the name of the msg file. Also, -- I hesitate to mention it, I've done it -- create bogus source members and try to compile, you'll find the msgs you are looking for. HTH bobh
Guest.Visitor
09-25-2000, 08:22 AM
Kurt, In the later releases of OS/400, the command help text now includes message id's that can be monitored for. Here are a couple: CrtDspF: CPF7302 File &1 not created in library &2. CrtCmd: CPF0201 Command &2 not created in library &3. CrtBndRPG: RNS9310 Compilation failed. Program &1 not created in library If you are on a release that doesn't have this information in the help text, consult the "AS/400 Programming Reference Summary" book. Look for a chapter named "Error Messages that can be monitored". Bill
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.