Versions

By default, the latest version that is accessible by the current user is returned when a file is retrieved. You can optionally specify a particular version to retrieve by including the version marker or version label, if one exists. Version markers and labels are always ignored if the specification describes a directory path, as opposed to a specific file.

Version label (#L). A label is used to easily identify a version; for example, production or development.

Version marker (#M). The version marker consists of an integer version number followed by a time stamp that uniquely specifies a version—for example, 1:2006-07-26 15:19:49.237.

Examples

*Retrieve a labelled version.
GET FILE='SPSSCR://data/mydata.sav#L.development'.
  • The version of /data/mydata.sav with the label development is retrieved from the current IBM® SPSS® Collaboration and Deployment Services Repository.
    *Retrieve a version using its version marker.
    OUTPUT OPEN FILE=
       'SPSSCR://output/myoutput.spv#M.0:2006-07-26 15:18:15.862'.
  • The version of the output file /output/myoutput.spv with version marker 0:2006-07-26 15:18:15.862 is retrieved.