[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



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