[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: printing on the mainframe
Title: Printing SQR Reports to MVS Connected HP LaserJet Printers
The following steps are required for printing SQR reports from MVS to HP
LaserJet printers.
1. The RECFM parameter for the SQR Shell JCLs (SHELSQRF and SHELSQRP) has to be
changed from RECFM=VB to RECFM=VBA to include the ANSI printer control
characters.
The DCB for SQROUTF and SQROUTP should be coded as follows:
RECFM=VBA,LRECL=256 OR
RECFM=FBA,LRECL=188
2. The -GPRINT parameter for SQRPARMS has to be changed from -GPRINT=NO to
-GPRINT=YES. The SQRPARMS must contain -GPRINT=YES to enable SQR to write
ANSI printer control characters to the output files.
3. The SETUP SQCs have to be changed to include printer init-string for MVS.
There should be a printer init-string for MVS to allow SQR reports to be
printed properly on a LaserJet printer. The printer init-string is needed
to control page size, orientation, margins, and font size on the LaserJet
printer. The following lines need to be commented out in the various SETUP
SQCs:
!#ifndef MVS
printer-init <27>E<27> ........
!#endif
"Holly N. Reid" <elleond@BELLSOUTH.NET> on 04/08/99 02:46:53 PM
Please respond to SQR-USERS@list.iex.net
To: Multiple recipients of list SQR-USERS <SQR-USERS@list.iex.net>
cc: (bcc: Ravi Alladi/PeopleSoft)
Subject: Re: printing on the mainframe
Hi Keri,
1. You will need to setup your setenv.sqc so that it knows that you are
running on MVS with a DB2 database.
2. The is needed by MVS, because that's how it knows that it start a new
page. (Set -GPRINT=YES)
3. You may want to check that your are using the correct report heading for
your report.
Yeah, I haven't had success sending the print to anything other than a line
printer directly from MVS. We had to install special fonts so that our
reports would have upper and lower case characters and our landscaped
reports would go beyond 130 columns.
I'm out of the office until late Monday. If you don't have the problem
resolved before that, please email me back and I can send you our setup
exactly.
Hope that helps.
Holly N. Reid
Elleon Dier, Inc.
elleond@bellsouth.net
-----Original Message-----
We have just installed PeopleSoft HRMS 7.5 with MVS/DB2 as our Database
Server (DB2 v5.1). This is our first experience with SQR (v 4.3). I thought
I could just run SQRs on the mainframe and they would come out formatted
correctly. This didn't happen.
If I use
SQROUT DD SYSOUT=9 (which is a mainframe printer class for a Xerox OCE
impact printer), the report comes out. The problems are
1. the first line is the garbase printer-init characters (E (0N &l0O &l8D
&l88F (s16.66H &a9L &k2G).
2. There is a 1 on each of the subsequent pages where the top of page
should be (like I would use if coding a COBOL report and using control
characters 1-top of page, 0-double space... and then I would also use
RECFM=FBA).
3. The pages are not breaking where they should be. The 1 mentioned above
is never at the top of the page.
This all also happens when I send the output to the mainframe line printer.
When I try using
SQROUT DD SYSOUT=L,DEST=U37 (which is a HP network laserjet printer that is
also a VPS printer), the report never comes out. Instead a page comes out
with Error Detected and the printer goes into EDRAINED status.
I would be so HAPPY if someone could help me out.
Thanks,
Keri