Правка текстового блока выдачи
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | * (Q) I would like to be to do a * SYSFILE INFO FILE = 'G:\wherever\whatever.sav'. * and then remove all of the output except the portion between the print * back of the command and a point up to but not including * the "variables information". * Any suggestions? *Is it possible to make a macro that takes a filespec as a token, executes a SYSFILE INFO on that filespec, and then calls a script that trims out all of the variable information, leaving just the info about the file? * (A) Posted by rlevesque@videotron.ca to SPSSX-L list on 2001/09/15. * Modify the path of the script in the macro as required. SET MPRINT=no. *///////////////////////////////////. DEFINE !getinfo (file=!CMDEND) SYSFILE INFO FILE =!file. SCRIPT 'd:\data\scripts\outputdoc\Extract info from Text Output.SBS'. !ENDDEFINE. *///////////////////////////////////. SET MPRINT=yes. !getinfo file='c:\program files\spss\Employee data.sav'. !getinfo file='c:\program files\spss\World95.sav'. |
Related pages
...