LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (May 2001, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 10 May 2001 17:09:14 +0100
Reply-To:     DavidJohnson@HALIFAX.CO.UK
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         David Johnson <DavidJohnson@HALIFAX.CO.UK>
Subject:      Re: Page breaks missing when .LST FTP'd from MVS
Comments: To: zqr0@CDC.GOV
Content-Type: text/plain; charset=us-ascii

James' original post below:

SAS-L Digest - 10 May 2001 - Special issue (#2001-582)

A seemingly common problem James.

We have a similar problem with output generated from DB2 tables on our mainframe and redirected to a file. It is then reprinted on request. There is a <CR> in the text that can be parsed, if you want to read and 'put' the text back onto the printer. The problem is that the command 'Put _PAGE_;' does not work with LAN connected printers.

In the end we used the external file viewer in AF and it's printing capabilities. We tried very many processes to get consistent output, and we found two things needed to be set:

. The page and line size for the Windows session is read using %SysFunc( GetOption( ...) )

. It is then passed to the mainframe when the connect session is established, and assigned to that session.

. To preserve line counts we also defined our page layout to ALWAYS have a footnote containing the usual authorship and diagnostic text. This preserves the page size when the PrintTo file is written. Otherwise, a page with 13 data lines follows line 13 with line 1 of the new page, prepended with the <CR> value. If you add a footnote, the 13 data lines are followed by blank lines until the footnote is put out in the usual position on the page.

Kind regards

** ##*

David Johnson > Group Technology & Systems - Mortgages Business Information Systems Consultant Collinsons 2nd Floor Direct Dial : (01422) 39 1360 Ext. : 31360 This message is attributable to the sender and does not necessarily reflect the view of Halifax Group plc or its subsidiaries.

Date: Thu, 10 May 2001 11:27:36 -0400 From: "Brittain, James" <zqr0@CDC.GOV> Subject: Page breaks missing when .LST FTP'd from MVS

Has anyone had the same problem that I am having? I used a PROC PRINTTO in a program that ran on our mainframe and then I FTP'd the .LST file to Windows. When I try to print it the page breaks are completely ignored. Are the page breaks that are used in MVS not carried over to Windows through FTP? Is there some option that I need to specify?

I tried to print it using WORDPAD months ago and that is when I originally noticed the problem. I thought since I downloaded the new SAS viewer ver. 8.2 yesterday that maybe it would now work but it still doesn't work.

Is there any way to use PROC PRINTTO in MVS and be able to print it later and have the titles, footnotes, and page breaks all look right?

Thanks in advance, Jim Brittain

------------------------------

------------------------------------------------------------------------------ Part of the Halifax Group, Halifax plc, Registered in England No. 2367076. Registered Office: Trinity Road, Halifax, West Yorkshire HX1 2RG. Represents only the Halifax Financial Services Marketing Group for the purposes of advising on and selling life assurance, pensions and unit trust business. The Marketing Group is regulated by the Personal Investment Authority. Switchboard 01422 333333.

=============================================================================


Back to: Top of message | Previous page | Main SAS-L page