Hi,
If you are creating LISTING output in SAS Enterprise Guide, then do investigate the FORMDLIM option, as Scott suggests.
If you are creating RTF or PDF output, then there is an ODS option (STARTPAGE=NO) that you can use to prevent SAS from starting a new page for every procedure.
Under TOOLS --> Options, you should find a way to specify this option for your task or project.
If you wanted to modify the EG-generated code, the correct place would be on the ODS RTF or ODS PDF statement:
[pre]
ods rtf file=.... startpage=no;
OR
ods pdf file=..... startpage=no;
[/pre]
If you are creating HTML output or SASReport XML output with EG there is no equivalent of the STARTPAGE option for those destinations. For example, the HTML destination does not have any page controls like margins or page numbers because the HTML specification does not have them. SAS normally puts a horizontal rule tag <hr> between procedures. This horizontal rule might generate a page break when printed because of the "page-break-after:always" CSS instruction that is used with the horizontal rule tag.
What is your destination of choice in EG??? Does your output look like an ASCII text file, like an Acrobat Reader file, like a Word doc or like an HTML page?
Cynthia