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 (July 1996, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Fri, 26 Jul 1996 11:05:00 EST
Reply-To:   Ming Lee <0007080955@MCIMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:   Ming Lee <0007080955@MCIMAIL.COM>
Subject:   Re: Say it ain't so !!!
Comments:   To: Kerril Bauerly <Kerril_Bauerly@hbtpc.com>

Hi Kerril,

According to the SAS Language manual, using PAGENO= in the system option to reset page numbering in the middle of a SAS session, page 768.

Try the following:

-=---->>> SAS Codes <<<-----=-

%macro report(xxx);

Options PAGENO=1;

Proc Report data=&xxx <option list>; Column <definition>; Define <variables); run;

%mend report;

%report(data01);

-=---->>> SAS Codes <<<-----=-

Hope this help.

Ming

Date: Fri Jul 26, 1996 11:03 am EDT Source-Date: Fri, 26 Jul 1996 09:46:25 EST From: Kerril Bauerly EMS: INTERNET / MCI ID: 376-5414 MBX: Kerril_Bauerly@hbtpc.com

TO: Multiple recipients of list SAS-L EMS: INTERNET / MCI ID: 376-5414 MBX: SAS-L@uga.cc.uga.edu BCC: * Ming Lee / MCI ID: 708-0955 Subject: Say it ain't so !!! Message-Id: 82960726150328/0003765414DC3EM Source-Msg-Id: <9606268384.AA838404138@mailhost.harcourtbrace.com> U-Sender: "SAS(r) Discussion" <SAS-L@uga.cc.uga.edu> U-From: Kerril Bauerly <Kerril_Bauerly@hbtpc.com>

I have just been told by Tech Support that there is no way to reset page numbers within a SAS proc. I need to reset the page numbers back to 1 every time I have a new by group in proc report. It's fairly elaborate code that I would hate to rewrite into a data _null_. Can anyone help me?!?!?!?!


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