QUICK Occurs With Primary file "challenge"

Pickering, John (NORBORD) PICKERIJ@norbord.com
Tue, 15 Feb 2000 20:16:41 -0500


Pretty weird. Same results with 8.19c4 - guess PH really is common source!

Usually exceeding the screen limit is an error. Why is this a warning here?
Maybe because it uses 24 lines and Quick wants one for the error message but
24 is still displayable? Beats me.

But if you run the screen and enter id 09 or 10 in the action field you'll
actually get to the second set of id 01 and 02! Weird!

Richard Witcopp suggests that this is due to the 'for 4' on the cluster
statement. Wrong. This means 4 lines which is used here to generate the
blank line line between records.

My fix would be simply to shorten the screen by 1 line -- put the first
title on line 1 as in
> TITLE "*** Part Information ***" CENTERED AT 1,40
and you'll get what you want.

Regards,
John Pickering
Toronto



-----Original Message-----
From: GGrimm@pcc-structurals.com
To: powerh-l@lists.swau.edu
Sent: 02/15/2000 7:39 PM
Subject: QUICK Occurs With Primary file "challenge"

My problem is with the field IDs starting over again with 01 & 02 after
IDs 
07 & 08 and the 2 warnings.   I know that the Warning Message line is 24
by 
default.  I want the screen to be readable so that is the reason for
blank 
lines between the five occurances.
 
Here is the Quick source and results:

Q D E S I G N   (PowerHouse  8.13.D2)
Copyright 1999 COGNOS INCORPORATED
> SCREEN testlim
> file long_term_detail     PRIMARY OCCURS  5 TIMES
> TITLE "*** Part Information ***" CENTERED
> TITLE "as reqested by user"      CENTERED
> TITLE " "                        CENTERED
> cluster OCCURS WITH long_term_detail FOR 4
> ALIGN  (3,6,9)(,,16)
> FIELD PARTNO of long_term_detail PIC "^^^^^" LABEL "PN"
> FIELD PRICE  of long_term_detail PIC "^^^,^^^" &
>                 FLOAT "$" OUTPUT SCALE 0
> ALIGN (3,6,11)
> FIELD SALESMANNO of long_term_detail LABEL "Sale"
> SKIP
> ALIGN (,16,21)
> FIELD CUSTOMERNO of long_term_detail LABEL "Cust"
> CLUSTER
*W* The screen limit has been exceeded for a terminal application.
*W* This cluster may be incomplete.
> BUILD
MODE:x ACTION:xxxxxxxxx
                            *** Part Information ***
                              as reqested by user
 {{{ Intentional blank Title line }}}
  01 PN xxxxx  xxxxxxx
  02 Sale xxxx
               Cust xxxxxx
 {{{ Intentional blank line }}}
  03 PN xxxxx  xxxxxxx
  04 Sale xxxx
               Cust xxxxxx
 {{{ Intentional blank line }}}
  05 PN xxxxx  xxxxxxx
  06 Sale xxxx
               Cust xxxxxx
 {{{ Intentional blank line }}}
  07 PN xxxxx  xxxxxxx
  08 Sale xxxx
               Cust xxxxxx
 {{{ Intentional blank line }}}
  01 PN xxxxx  xxxxxxx
  02 Sale xxxx
               Cust xxxxxx
0 ERRORS  2 WARNINGS. Delete old screen testlim.qkc?y
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
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.