×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Peter,

How can the field C2CUST end on position 35, when C2CUSN starts at position
36. This leaves no place for the attribute byte.

Is it possible that there is a second C2CUSN field, with the correct start
possition, whereby the first C2CUSN field is being dropped by the compiler?

Loek.


----- Original Message -----
From: "Peter Vidal" <Peter_Vidal@xxxxxxxx>
To: <rpg400-l@xxxxxxxxxxxx>
Sent: Monday, November 10, 2003 4:32 PM
Subject: Weird behavior on SUBFILE with COLOR attribute


> Hi all!
>
> My SFLCTL record has a customer name field conditioned to be BLUE all the
time.
> When I execute the program, if there are three full pages of data, there
is no
> problem; however, if there is 2 1/2 pages of data, the customer name's
color
> turns to green instead of stay as blue.  The field is not conditioned.  It
is
> pretty straight forward to me.  I even placed the customer name to be
physically
> before the customer number because it has several conditions attached to
it but
> still have problems (The field is C2CUSN):
>
> A                                  5  4'Company:'
> A            C2COMP         2Y 0O  5 13EDTCDE(4)
> A                                      COLOR(WHT)
> A*
> A N32                              5 17'Customer:'
> A N32        C2CUST         8Y 0B  5 27EDTCDE(4)
> A  63                                  DSPATR(PR)
> A N63                                  DSPATR(UL)
> A                                      COLOR(WHT)
> A  51                                  DSPATR(RI)
> A  51                                  DSPATR(PC)
> A*
> A N32        C2CUSN        35A  O  5 36COLOR(BLU)
>
> What may be going on?
>
> TIA,
> Peter Vidal
> Pall Aeropower Corp.
> SR Programmer Analyst
> WWW.Pall.com
>
> "A good player makes himself look good; a great player makes the team look
> good."
> Author unknown
>



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.