|
Alan, STRCPYSCN will do that for yuo. It makes a copy of the screen after each IO (exfmt or write). You can specify a file to receive the data. Albert
----- Original Message ----- From: "Alan Shore" <AlanShore@xxxxxxxx> To: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx> Subject: RE: Screen data capture Date: Wed, 14 Feb 2007 13:48:08 -0500 Thanks for your reply Bob. Looking at the write-up for STRCPYSCN (Start Copy Screen), I don't think its what I am looking for (unless I am misreading the write-up). I want to be able to capture the screen data from within the same program that generates the screen data. Within the RPG program, directly after each EXFMT, I want to perform a routine that will write data (including what was on that screen from the EXFMT) to an audit file/journal. Alan Shore NBTY, Inc (631) 244-2000 ext. 5019 AShore@xxxxxxxx rpg400-l-bounces@xxxxxxxxxxxx wrote on 02/14/2007 12:51:43 PM:Would STRCPYSCN work for you? (Start Copy Screen) -Bob Cozzi www.i5PodCast.com Ask your manager to watch i5 TV -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx[mailto:rpg400-l-bounces@xxxxxxxxxxxx] OnBehalf Of Alan Shore Sent: Wednesday, February 14, 2007 11:19 AM To: RPG programming on the AS400 / iSeries Subject: Screen data capture Hi everyone We have a program that displays numerous screens (both subfile and non-subfile) and windows (again, both subfile and non-subfile). We haveanintermittent problem where some data is being "lost", but we cannot replicate what is happening. We believe that its due to the way the operator/user jumps from one screen/window to another, but its hard tofindout what path that operator/user took. Its been suggested that we create an audit file within the program that will capture the operator, time, the key entered to conclude the EXFMTandwhat data is on that screen or window. My question is: Is there ONE buffer name/record name/data name that can be used to move that screen/window data into the record of the audit file? Thanks in anticipation Alan Shore NBTY, Inc (631) 244-2000 ext. 5019 AShore@xxxxxxxx -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailinglistTo 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. -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailinglistTo 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.-- 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 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.