Output Update & Subfile

Chris Sharman Chris.Sharman@ccagroup.co.uk
Wed, 5 Apr 2000 15:27:09 +0100


>It's not that simple. I would like to write the
>records that would be reported by an "ON ERRORS
>REPORT" message to a subfile. Essentially any records
>from ERA that I cannot apply to an existing record in
>DUPE-KSAM, either because they are non-existing or
>because all matching records in DUPE-KSAM have been
>already assigned, I would like to write to the ERABAD
>subfile.

Like this (pseudo-qtp) ?

access era link to dupe-ksam opt
select dupe-ksam if not already assigned

output dupe-ksam update if record dupe-ksam exists
subfile erabad keep append if not record dupe-ksam exists incl era

Chris
_______________________________________________________________________
Chris.Sharman@CCAgroup.co.uk		http://www.ccastat.demon.co.uk/
CCA Stationery Ltd, Eastway, Fulwood, Preston, Lancashire, PR2 9WS.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.