× 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.



check the printfile qprint on the system (typically, the qprint printer
file is in QGPL library) --- the base one is 132 characters long.

you can either:
      1.)   create a new print file in your library which has other
characteristics (and then put that in your program).
      2.)   put in a CL and OVTPRTF to those new characteristics (and then
run your program in the CL)
      3.)   change the QGPL prtinter file (which I don't recommend).......

Dale Nieswiadomy

Livingston County Information & Technology Services
(585) 243-7113

dnieswiadomy@xxxxxxxxxxxxxxxxxxx



                                                                           
             "Michael                                                      
             Rosinger"                                                     
             <mrosinger@cciws.                                          To 
             com>                      cobol400-l@xxxxxxxxxxxx             
             Sent by:                                                   cc 
             cobol400-l-bounce                                             
             s@xxxxxxxxxxxx                                        Subject 
                                       [COBOL400-L] print line greater     
                                       than 132?                           
             11/02/2006 06:01                                              
             AM                                                            
                                                                           
                                                                           
             Please respond to                                             
             COBOL Programming                                             
                  on the                                                   
               iSeries/AS400                                               
             <cobol400-l@midra                                             
                 nge.com>                                                  
                                                                           
                                                                           




List,

I am feverishly working on migrating and converting several COBOL programs
from VSE (mainframe) to iSeries. One problem I've come up against is a
program that produces a report with a print line greater than 132.
COBOL/ILE
allows it and it compiles fine, but at run-time I get a message about
truncation and I see in the report that the print line truncated at 132
characters.

Here are the COBOL definitions:

000990 INPUT-OUTPUT SECTION.
001000 FILE-CONTROL.
001010     SELECT PRINT-FILE1 ASSIGN TO PRINTER-QPRINT.
001020 EJECT
001030 DATA DIVISION.
001040 FILE SECTION.
001050 SKIP3
001060 FD PRINT-FILE1
001090     RECORD CONTAINS 133 CHARACTERS.

So what do I need to do to get a program to print a report with a print
line
wider than 132?  TIA!

--
Regards,

Michael Rosinger
Systems Programmer / DBA
Computer Credit, Inc.
640 West Fourth Street
Winston-Salem, NC  27101
336-761-1524
m rosinger at cciws dot com


--
This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing
list
To post a message email: COBOL400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/cobol400-l
or email: COBOL400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/cobol400-l.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.