DATA Step, Macro, Functions and more

Removal of all page breaks

Accepted Solution Solved
Reply
New Contributor
Posts: 3
Accepted Solution

Removal of all page breaks

I use the following code to generate a file that I will FTP to z/OS.

 

 PROC PRINTTO PRINT=MVTJSTEP NEW;
 options linesize=124 nodate;

 PROC REPORT DATA=MVTJSTEP nowd noheader;
      options nodate nonumber pagesize=max;
      title; footnote;
      col MVTJSTEP_REC;

 

The file has over 32767 records.  Althought I have 'pagesize=max; specified, I am still getting page breaks.  These page breaks end up adding an addtional character in column 1.  Therefore when I transmit this file to MVS into a file that is of that right size, these records will be truncated on the right side.   Is there a way within SAS to remove this page break?

 

Jim


Accepted Solutions
Solution
‎06-03-2016 02:22 PM
Super User
Posts: 11,343

Re: Removal of all page breaks

Posted in reply to Jim_Dillon

All Replies
SAS Super FREQ
Posts: 8,866

Re: Removal of all page breaks

Posted in reply to Jim_Dillon
Hi:
My mainframe days are long over, but I seem to remember a FORMDLIM or FORMDLM option?
http://support.sas.com/documentation/cdl/en/lesysoptsref/68023/HTML/default/viewer.htm#n0vr78nr6afox...

I also remember something about NOCC or No Carriage Control, but I only found that for FSLIST:
http://support.sas.com/documentation/cdl/en/proc/68954/HTML/default/viewer.htm#p0kmaczvgok09qn1tx9lz...

And, this is older http://support.sas.com/techsup/notes/v8/11/084.html
so I'm not sure it is relevant. You might want to check with Tech Support.

cynthia

New Contributor
Posts: 3

Re: Removal of all page breaks

Posted in reply to Cynthia_sas

I run SAS on a windows 2012 server.

New Contributor
Posts: 3

Re: Removal of all page breaks

Posted in reply to Cynthia_sas

Cynthia,

Thanks for the suggestions but they don't appear to a resolution.  I may need to somehow run another process to strip the this page break off. 

Super User
Posts: 11,343

Re: Removal of all page breaks

Posted in reply to Jim_Dillon

Is your Proc Report output actually doing any statistics or break summaries?

If not then don't use Proc Printto. Use an old fashioned data _null_ step with a FILE statement for the destination and put statements.

Solution
‎06-03-2016 02:22 PM
Super User
Posts: 11,343

Re: Removal of all page breaks

Posted in reply to Jim_Dillon

Your OS is?

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 5 replies
  • 361 views
  • 0 likes
  • 3 in conversation