XMM-Newton SAS Home Page
XMM-Newton Science Analysis System


playback (playback-1.5) [xmmsas_20230412_1735-21.0.0]


Examples

In the following we use the data set test.ds created as follows:

  1. playback –sets=test.ds 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 –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
    

  2. To extract the list of SAS tasks that were used to create test.ds type (for a Bourne-like Unix shell):

    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]
    



XMM-Newton SOC -- 2023-04-16