Hi:
There is a syntax which allows you to publish packages using DATA step syntax. I have not done much with that. I've never had the need to create multiple SPK files from one stored process.
I guess I also don't understand what you mean..."so that the spk file has more than just one file". If I create this stored process:
[pre]
*ProcessBody;
%let _odsoptions= newfile=proc;
%stpbegin;
proc print data=sashelp.class noobs;
title 'one output';
run;
proc print data=sashelp.shoes(obs=10);
title 'shoes';
run;
proc freq data=sashelp.shoes;
tables region;
title 'freq';
run;
%stpend;
[/pre]
And then I register the SP to create a permanent file called try_pkg.spk -- when I run the SP and then look inside the SPK file, I have 3 separate HTML files: SASHTML.HTM (contains the first proc print), SASHTML1.HTM (contains the second proc print) and SASHTML2.HTM (contains the proc freq output). At this point if I go to save them from the SAS package, I can name them anything I want.
However, if you are going to publish to a permanent package and want to control each item that gets put into the package and set the name for each item that gets put into the package, then you may have to use the PUBLISH syntax. For example, the CALL INSERT_FILE statement, as described here:
http://support.sas.com/rnd/itech/doc/app/pkgintf/ins_file.html.
But, as I said, I have not worked enough with this syntax to be sure of how to help you. You are better off working with Tech Support on this question.
cynthia