× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I am reworking an old subfile program.  I am getting errors when I compile 
the display file that indicates that the position (78) is not valid. 
Segment of code and error are attached.  This is probably something very 
simple that I'm overlooking-but it is totally escaping me.  If I change 
the position to 77, it will compile, but naturally it overlaps the 
previous field and doesn't show.  Anyone see what I'm missing?  (And the 
dspsize is defined as 80 wide.)
A* SUBFILE SCREEN 1 *  
A********************  
A          R SFL71S3                   SFL  
A            SFOPTN         1A  B  9  2VALUES(' ' '2' '4' '5')  
A                                      CHECK(ER)  
A  49                                  DSPATR(PC)  
A            SHTYPE    R        O  9  4REFFLD(ZZR47/TYPE47 ZZP47) 
A            SFACCN    R   12   O  9  9REFFLD(ACCN47 ZZP47)  
A            SFDESC        35A  O  9 22  
A  68                                  DSPATR(HI)  
A            SFAMT     R        O  9 58REFFLD(AMT47 ZZP47)  
A                                      EDTCDE(J)  
A            SFDBIT         2A  O  9 72  
A            SFCRDT         2A  O  9 75  
A*         HIDDEN FIELDS  
A            SHDESC    R        H      REFFLD(ACDESC FLP003)  
A            SHCDXT    R        H      REFFLD(CDXT47 ZZP47)  
A            SFACCF         1A  O  9 78  
*                       CPD7840-******
 
************************************************************************** 


     ID      Severity  Number

* CPD7840      30        1      Message . . . . :   Position number for 
field not valid.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Thank in advance


 Jim Hawkins


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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

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