Data Model > Available DSCs > QDI/DRS DSC > System variables
 
System variables
QDI/DRS DSC sets up some System variables to hold the information stored for each respondent in the standard .drs variables. These variables are recorded in the first three lines relating to a respondent in the .drs file. The first of these lines always starts with ##recstart, the second with ##ac, and the third with ##init. Here is an example:
##recstart 20
##ac rodriguez-u 000830 174522 174908 346 967675522 967675748
##init 20 1 0 0 1 3 2 255 0 54235
System variables used by QDI/DRS DSC
The following list shows how QDI/DRS DSC stores the information in the system variables.
Respondent.Serial
Taken from the ##recstart line. (20 in above example.)
DataCollection.InterviewerID
Taken from first field on the ##ac line. (rodriguez-u in the above example.)
DataCollection.StartTime
Taken from the second and third fields on the ##ac line. (000830 and 174522 in the above example).
DataCollection.FinishTime
Taken from the second and fourth fields on the ##ac line. (000830 and 174908 in the above example).
QDI/DRS DSC also creates the system variables DataCollection.Status and DataCollection.SeedValue, but does not use them to store data. No other system variables are created.
See also
QDI/DRS DSC