As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at email@example.com and provide your corporate email address, company, and name.
You should be able to do it in a single pass - depending upon the number of fields you have in the output and their layout etc.
TABLE FILE GGSALES
SUM COMPUTE LIST/I9 = LAST LIST + 1;
-* This is your group field
BY REGION NOPRINT
-* This is the field that you want ranked within your report
BY ST NOPRINT
ON REGION SUBHEAD
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
I might stay away from LIST as a fieldname. It was a valid verb in the past and as such would be a reserved word. I don't know if it works now though and I've just shut down my vmware image. I'll test it out tomorrow if I get a chance.
Access to most releases from R52x, on multiple platforms.
Posts: 346 | Location: Melbourne Australia | Registered: April 15, 2003
TABLE FILE CAR PRINT COMPUTE CNTR/I9=CNTR + 1; AS LIST CAR BY COUNTRY END COUNTRY LIST CAR ------- ---- --- ENGLAND 1 JAGUAR 2 JENSEN 3 TRIUMPH FRANCE 4 PEUGEOT ITALY 5 ALFA ROMEO 6 MASERATI JAPAN 7 DATSUN 8 TOYOTA W GERMANY 9 AUDI 10 BMW
FOCUS 7.6 MVS PDF,HTML,EXCEL
Posts: 115 | Location: Chicago, IL | Registered: May 28, 2004