× 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.



Derek

As Joe said, OVRDBF will not return an error, except in one rare situation of running in a secondary thread. So QCMDEXC will not report an error.

First, to find what errors a command might issue (escape messages) prompt the command and put the cursor above the parameters and press F1 for the online help - then page down the preamble - if there are escape messages, they will be listed there.

Second, QCMDEXC does return a general error - that an error occurred. To find out what happened you need to receive the earlier messages using either RCVMSG in CL or its API equivalent whose name I don't remember - probably QMHRCVM - but you can use the API Finder under programming at InfoCenter.

HTH
Vern

At 07:22 AM 5/30/2007, you wrote:


Hi,

I have a Qcmdexc statement in a program.
OVRDBF FILE(ABC) TOFILE( )
Now for eg.
the TOFILE is DXGO/ABC. If MPPMP100 does not exist in DXGO, can i capture this error?(Or is there any other way of doing it)

Thanks in advance
Derek

_________________________________________________________________
More photos, more messages, more storage?get 2GB with Windows Live Hotmail. http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_2G_0507



--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



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.