× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Narsi" wrote:
How do i Find out what the severity level was 
with which a RPG program was compiled ? 

Our default severity level is set to 9 so a program 
crashes with a severity level 10 error. I would like to 
find out how that particular program was compiled  
previously. How do i find this out ?


Narsi:
You sound very inexperienced.

First of all, the generation severity level (GENLVL) with which the 
program is *compiled* has no bearing on whether it will crash or not - 
GENLVL only determines which errors during the compile process 
will prevent the program object from being created successfully.

Second, AFAIK, you can't determine from the compiled object
what GENLVL was used when creating the program object.

You *could* try compiling the program to QTEMP with 
GENLVL(9) and see what errors occur...if you have source/
object integrity, it would show you the minimum GENLVL 
that you would have to use in order to create the object.

However, this totally unrelated to the severity of the error that
occurs when a program crashes.

Do you want to try your question again?  
Why don't you describe the problem that is occurring in your
program so someone on the list can help you diagnose the problem.

HTH,
Steve



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.