BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Jim_Dillon
Calcite | Level 5

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

1 ACCEPTED SOLUTION

Accepted Solutions
5 REPLIES 5
Cynthia_sas
SAS Super FREQ
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

Jim_Dillon
Calcite | Level 5

I run SAS on a windows 2012 server.

Jim_Dillon
Calcite | Level 5

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. 

ballardw
Super User

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.

ballardw
Super User

Your OS is?

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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