Thanks Karen,

Here's the DDS.  If I position LINENO at column 1, the lines double space.

A*%%TS  SD  20050317  120815  MIELDAN     REL-V5R2M0  5722-WDS              
A                                      DSPSIZ(24 80 *DS3)                   
A                                      INDARA                               
A          R DSCSUMMRCD                SFL                                  
A*%%TS  SD  20050317  120815  MIELDAN     REL-V5R2M0  5722-WDS              
A                                      TEXT('DSC summary Investment list')  
A            LINENO         1   O  9  2TEXT('Line number')                  
A            FUNDCODE       5A  O  9  4TEXT('Investment code')              
A                                      DSPATR(HI)                           
A            CURRUNITBL     9Y 3O  9 10TEXT('Current Unit Bal (Account-inv- 
A                                      estment)')                           
A                                      DSPATR(HI)                           
A                                      EDTCDE(1)                            
A            FREEUNITS      9Y 3O  9 22TEXT('Total Free Unit Balance')      
A                                      DSPATR(HI)                           
A                                      EDTCDE(1)                            
A            MATURED        9Y 3O  9 34TEXT('Total Matured Balance')        
A                                      DSPATR(HI)                           
A                                      EDTCDE(1)                        
A            BLOCKEDFLG     1A  O  9 46TEXT('Blocked Unit Flag')        
A                                      COLOR(RED)                       
A            CHARGEABLE     9Y 3O  9 48TEXT('Total chargeable balance') 
A                                      DSPATR(HI)                       
A                                      EDTCDE(1)                        
A            FREEOFDSC      9Y 3O  9 60TEXT('Total units free of DSC')  
A                                      DSPATR(HI)                       
A                                      EDTCDE(1)                        
A            ASSIGNLIST     3A  O  9 77TEXT('Assignment Type list')     
A                                      COLOR(RED)                       
A            CERTFLAG       4A  O  9 72TEXT('Certificate flag')         
A                                      COLOR(RED)                       
A          R DSCSUMMCTL                SFLCTL(DSCSUMMRCD)               
A*%%TS  SD  20050310  164832  MIELDAN     REL-V5R2M0  5722-WDS          
A                                      CF03(03 'Exit')                  
A                                      CF12(12 'Cancel')                
A                                      CF07(07 'Next')                  
A                                      CF08(08 'Previous')              
A                                      OVERLAY                          
A  40N41                               SFLDSP                              
A N41                                  SFLDSPCTL                           
A  41                                  SFLCLR                              
A                                      SFLSIZ(0010)                        
A                                      SFLPAG(0010)                        
A                                  2  3'User'                              
A                                  2  9':'                                 
A            USERID        10A  O  2 11TEXT('Current User ID')             
A                                  1  3'Screen:'                           
A            SCREENNAME    10A  O  1 11TEXT('Screen Name')                 
A            COMPANYNAM    30A  O  1 25TEXT('Company Name')                
A                                      DSPATR(RI)                          
A            SCREENDESC    36A  O  2 22TEXT('Screen description')          
A            SYSTEMDATE    10A  O  1 60TEXT('System date YYYY/MM/DD')      
A            SYSTEMNAME    10A  O  2 60TEXT('System Name')                 
A            SYSTEMTIME     8A  O  1 71TEXT('System Time')                 
A            SYSDEVICE     10A  O  2 71TEXT('System Device (ie QPADEV00001-
A                                       etc.)')                            
A                                  4  3'Account Number:'                   
A                                  5  3'Account Name  :'                   
A            ACCOUNT_NO     9A  B  4 19TEXT('Account Number')               
A                                      DSPATR(HI)                           
A                                      CHECK(RB)                            
A            ACCOUNTNAM    40A  O  5 19TEXT('Account Name')                 
A                                      DSPATR(HI)                           
A                                  4 40'** Select a line for DSC details *- 
A                                      *'                                   
A                                      DSPATR(HI)                           
A                                  7 75'Assign#  Fund  Current bal        - 
A                                      Free     Matured    Chargeable Free- 
A                                       of DSC Cert Typ'                    
A          R DSCSUMMCMD                                                     
A*%%TS  SD  20050310  170608  MIELDAN     REL-V5R2M0  5722-WDS              
A                                      CF03(03 'Exit')                      
A                                      CF07(07 'Backwards')                 
A                                      CF08(08 'Forwards (Next)')           
A                                      CF12(12 'Cancel')                    
A                                      OVERLAY                              
A                                 21  3'COMMAND:'                           
A            CMDINPUT      10A  I 21 12TEXT('Command input line')           
A                                 23  2'F3=Exit  F7=Backwards  F8=Next  F1-
A                                      2=Cancel'                           
A                                      COLOR(BLU)                          
A            LISTSTATUS     6A  O 20 72TEXT('List scroll status')          

Without seeing your DSPF, it is hard to give an answer.
You have to manipulate the rest of the fields on the subfile so that that
last position used is not 80.

Thank you,

Karen Hodge
Senior System Analyst
Genesys Health System
1000 Healthpark Blvd, Grand Blanc, Mi 48439
Office 810.606.5180, Fax 810.606.7204

             Daniel Mielke                                                 
             Sent by:                                                   To 
             cobol400-l-bounce         "'cobol400-l@xxxxxxxxxxxx'"         
             s@xxxxxxxxxxxx            <cobol400-l@xxxxxxxxxxxx>           
             03/17/2005 01:58                                      Subject 
             PM                        [COBOL400-L] SUBFILE starting at    
                                       column 1 or line numbers            
             Please respond to                                             
             COBOL Programming                                             
                  on the                                                   

Hi all,

I want to display line numbers at the left of the subfile record starting
column 1.  Either it could be a part of the subfile, or a static display.

I've tried adding the field to the subfile, but the records then become
double spaced.(The final field of the subfile does not occupy the final
column [80])   I've tried overlaying a window, but the data under "Fund"
gets covered.

Here is a screen shot of what I want to accomplish (conversion from

  Screen: DSCSUMM                AIC LIMITED               2005/03/17 13:36

  User  : MIELDAN            Account DSC Summary           DEV01

  Account Number:  12345678            ** Select a line for DSC details **

  Account Name  : SMITH JOHN


#  Fund  Current bal        Free     Matured    Chargeable Free of DSC Cert

01 336       536.310      53.639     373.286 *     109.385     426.925

02 735        48.694       0.000       0.000         0.000       0.000











 F3=Exit  F7=Backwards  F8=Next  F12=Cancel

 Enter the mode: F or S.

Any ideas?


Daniel Mielke

Business Systems Analyst

AIC Limited

1-888-710-4242 x4614

dmielke@xxxxxxx <mailto:dmielke@xxxxxxx> <>

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

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