Unfortunately we don't in this program. It's a really old one, from the
S/36 days, that was run through a conversion program at some point (before
my time). It's one of the systems we'd like to rewrite, but, like other
folks, it's hard to get "management" to go along with rewriting what in
their minds is a "perfectly good program".

On Mon, May 7, 2012 at 11:57 AM, <rob@xxxxxxxxx> wrote:

<snip>
Not sure what you mean by the *MSG statement. Can you elaborate a little?
</snip>

Prompt WRKSYSVAL QDEVRCYACN
*MSG
The application program requesting the I/O operation receives an
error message indicating the I/O operation has failed.
Not a whole lot of detail. Suppose you do an execute format in rpg.
Suppose it ends in an error code. Do you check for that or do you only
check for function keys and enter?


Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





From: Victor Hunt <xlcfdp@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>,
Date: 05/07/2012 11:53 AM
Subject: Re: Ending A "Orphaned" Program
Sent by: midrange-l-bounces@xxxxxxxxxxxx



When the nightly process runs at 9 PM there are no other activities going
on. The last person leaves for the day at EXACTLY 5:30 PM. They don't hang
around. Under normal operations there are no uploads or downloads, no ODBC
jobs, no web access. Our code is almost 100% green screen. Our users, who
on average have been here 30 years, like green screen. It works for them.

Thanks for the tip on object lock API's, didn't think about that avenue.
Not sure what you mean by the *MSG statement. Can you elaborate a little?

Thanks.

On Mon, May 7, 2012 at 10:40 AM, <rob@xxxxxxxxx> wrote:

Ending qinter 'may' help. However, in this day and age are 5250
programs
the only programs accessing the data? No upload/downloads? No batch
programs stuck in MSGW? No ODBC? No web access? Perhaps checking the
library for object locks would be better. There are APIs to process
locks.

See also
WRKSYSVAL QDEVRCYACN
CHGJOBD DEVRCYACN(...)
CHGJOB DEVRCYACN(...)
If you're going to use *MSG then have the program process the *MSG
correctly.

See also
WRKSYSVAL QDSCJOBITV


Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2020 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].