Testing if QDESIGN completed OK.

Chris Sharman chris.sharman@ccagroup.co.uk
Mon, 11 Mar 2002 11:40:55 -0000


>Was aware that JCW=WARN1 and CJCW=1 when an error occurs within QDESIGN.
Warnings in QDESIGN, created for example by a  '*W* Field overwrites the
screen background' or a '*W* Cluster overwrites the screen background',
results in JCW=0 and CJCW=0.

Yes, similar on VMS.
Additionally, some warnings are unavoidable and result from reasonable code,
others result from poor/wrong code.

Our approach for batch compiles is to capture the log, and search it for
"*W*" or "*E*". We further filter out those warnings we consider
'acceptable', and flag the rest.

Chris

PS: Our 'acceptable' list at present is:
$ quizwarn :=-
"""*W* PowerHouse name for """
$!	This occurs in QTP/Quiz when a subfile has an explicit device or
$!	directory. It can be fixed for QTP using ALIAS, but not for Quiz.
$!	OK - really just informational
$!
$ okwarn :=-! these warnings are commonplace, unavoidable, and uninteresting
"""*W* This screen requires that the executing terminal support 132
columns.""",-
-!	This occurs in QDESIGN for 132 column screens
-!	OK - really just informational
"""*W* NOFORMAT overrides the effects of other options on FIELDTEXT
formatting.""",-
-!	This occurs in QDESIGN where FORMAT is used to set input date format &
-!	NOFORMAT is used to allow manual date format (ie day OR century - see
agent-discount)
"""*W* Duplicate item name in subfile description : FILLER"""
$!	OK - Allow any number of filler fields in a record
$!
$ xwarn :=,-! these are rarer, or avoidable, and merit inspection
"""*W* Values displayed in SELECTBOX will be scrolled.""",-
-!	This occurs in QDESIGN where too many values exist for the box.
-!	Avoid if possible by using a bigger box
-!	OK if unavoidable
"""*W* Update on linked screen may bypass PREUPDATE/UPDATE/POSTUPDATE
procedures.""",-
-!	This occurs in QDESIGN where non-default [PRE|POST|]UPDATE procedure(s)
-!	exist and there is a subscreen.
-!	OK *provided* the subscreen doesn't update
"""*W* The item for this field has a final value.""",-
-!	OK *provided* it's ITEM item FINAL FIRST(item) on repeating item
"""*W* The PRIMARY file is missing.""",-
-!	This occurs in QDESIGN - ought to be slave screen I think, but David's
had
-!	problems using slave screens for some reason ...
"""*W* Set to the same occurrence as the AUDIT WITH file specification."""
$!	Problems with cache/audit with on 7.10 - accept for now.



-----------------------------------------------------------------------

Any views expressed in this message are those of the sender and not
necessarily those of CCA Group.  The unauthorized use, disclosure,
copying or alteration of this message is forbidden.  The contents of
this message may be confidential and/or privileged, copyright CCA Group
and are intended solely for the use of the individual or entity to whom
they are addressed.  Whilst this message has been scanned, CCA Group
cannot guarantee that it is virus free or compatible with your systems
and accepts no responsibility for any loss or damage arising from its
use. The recipient is advised to run their own anti-virus software. If
you receive this message in error please contact
postmaster@ccagroup.co.uk immediately, destroy any copies and delete it
from your computer systems.