Hi:
I have some observations:
1) This syntax works:
[pre] ods listing file='yadayada.txt';[/pre]
as an alternative to PROC PRINTTO. But I question why you're even using PROC PRINTTO or creating a TXT file in the first place. (You can create a TXT file from inside EG by going to Tools --> Options and not using PROC PRINTTO -- unless you explicitly WANT to create a TXT File. But then, see #2)
2) What kind of output are you routing to the .TXT file??? Is it output from a reporting procedure like PROC PRINT, PROC REPORT, PROC TABULATE or DATA _NULL_? Or, is it output from some other procedure like PROC GLM or PROC REG, PROC MEANS, PROC FREQ? Why do you need this output in a .TXT file?
3) And then, ????? this is where I'm not sure what's happening???? You want to do -something- with the file that was created with PROC PRINTTO???
4) In which step do you want to customise the group total labels??? When you first create the .TXT file or when you open the .TXT file after it's been created?
Perhaps your best bet for help with this is to contact Tech Support.
Scenario 1:
If you want to customize the group total labels from the List Data task, that is hard to do. You can only customize the "N" or the label for the count using PROC PRINT (which is behind the scenes of the LIST data task). If the group total that you want to change is the N, then Tech Support can show you how to do that.
Scenario 2:
If the group total that you want to change is the total at the break, (like between Regions or at the bottom of the report), then you cannot change what you get from the LIST Data task. But, you CAN switch to PROC REPORT in order to get something like this:
[pre]
Region Product Inventory
Asia Boot $170,165
Men's Casual $2,176
Men's Dress $272,634
Sandal $36,570
Slipper $485,082
Sport Shoe $16,057
Women's Casual $52,827
Women's Dress $140,628
Asia SubTotal $1,176,139
Canada Boot $1,362,772
Men's Casual $909,052
Men's Dress $2,327,082
Sandal $99,035
Slipper $3,459,849
Sport Shoe $765,695
Women's Casual $895,434
Women's Dress $3,291,790
Canada SubTotal $13,110,709
Grand Total $14,286,848
[/pre]
(Where the "Asia SubTotal", "Canada SubTotal" and "Grand Total" are all customized text that I was able to write with PROC REPORT).
Tech Support can help you with the syntax for either scenario. I'm just confused by why you need the PROC PRINTTO step in the first place.
cynthia