In the following we use the data set test.ds created as follows:
playback:- # -------------------------- playback:- # SAS commands from test.ds: playback:- # -------------------------- playback:- dscreatedataset name='test.ds' # (daltools-0.27) [xmmsas_20001001_1900] playback:- dsaddtable label=” name='table' position=-1 rows=10 set='test.ds' withlabel=no withposition=no # (daltools-0.27) [xmmsas_20001001_1900] playback:- dssetattr label=” to='test.ds%HELLO' type='string' units=” value='hello ccb' # (daltools-0.27) [xmmsas_20001001_1900]
playback –sets=test.ds –showhistory=yes displays:
playback:- # -------------------------- playback:- # SAS commands from test.ds: playback:- # -------------------------- playback:- dscreatedataset name='test.ds' # (daltools-0.27) [xmmsas_20001001_1900] playback:- dsaddtable label=” name='table' position=-1 rows=10 set='test.ds' withlabel=no withposition=no # (daltools-0.27) [xmmsas_20001001_1900] playback:- dssetattr label=” to='test.ds%HELLO' type='string' units=” value='hello ccb' # (daltools-0.27) [xmmsas_20001001_1900] playback:- # ----------------------------- playback:- # History records from test.ds: playback:- # ----------------------------- playback:- # Created by dscreatedataset (daltools-0.27) [xmmsas_20001001_1900] at 2 playback:- # 000-10-02T10:05:25.000 playback:- # Modified by dsaddtable (daltools-0.27) [xmmsas_20001001_1900] at 2000- playback:- # 10-02T10:05:58.000 playback:- # Modified by dssetattr (daltools-0.27) [xmmsas_20001001_1900] at 2000-1 playback:- # 0-02T11:08:50.000
playback –sets=test.ds –withscriptfile=yes –scriptfile=myscript
that writes into myscript the fllowing:
# -------------------------- # SAS commands from test.ds: # -------------------------- dscreatedataset name='test.ds' # (daltools-0.27) [xmmsas_20001001_1900] dsaddtable label=” name='table' position=-1 rows=10 set='test.ds' withlabel=no withposition=no # (daltools-0.27) [xmmsas_20001001_1900] dssetattr label=” to='test.ds%HELLO' type='string' units=” value='hello ccb' # (daltools-0.27) [xmmsas_20001001_1900]