create new tag
view all tags

Using OUTPUTs Instead of UPDATEs

There are advantages for using OUTPUT processes instead of UPDATE processes, for posts:

Code the OUTPUT log to look the way you want it. Set the --- PRINT MODE to KEEP, using the knowledge of --- PRINT FILE PATHNAME to move it to a desired directory.

Or, you can put the ILF code you'd normally put in your UPDATE into the 'Select Image' ILF series of an OUTPUT's Frame. Then ...

If the record posts 'OK', then SET --- ALTERNATE IMAGE NUMBER = 0 (causing it to print nothing for this good record).

If the record has some problem or you want to issue a warning, SET --- ALTERNATE IMAGE NUMBER = 1 (causing the Frame to print the OUTPUT's Image containing the primary key, and whatever supporting information (including ERROR and WARNING messages) you want).


Read what other users have said about this page or add your own comments.

Topic revision: r1 - 2012-02-29 - ChrisBrower
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback