# ehf5.cf this command file generates a new output data file with # sub-episodes having a maximum duration of 60 months. nvar( dfile = rrdat.1, # data file ID [3.0] = c1, # identification number NOJ [2.0] = c2, # spell number TStart [3.0] = c3, # starting time TFin [3.0] = c4, # ending time SEX [2.0] = c5, # sex (1 men, 2 women) TI [3.0] = c6, # interview date TB [3.0] = c7, # birth date TE [3.0] = c8, # entry into labor market TMAR [3.0] = c9, # marriage date (0 if no marriage) PRES [3.0] = c10, # prestige of current job PRESN [3.0] = c11, # prestige of next job EDU [2.0] = c12, # highest educational attainment # additional variables DES [1.0] = if eq(TFin,TI) then 0 else 1, TSP [3.0] = 0, TFP [3.0] = TFin - TStart + 1, COHO2[1.0] = ge(TB,468) & le(TB,504), # cohort 2 COHO3[1.0] = ge(TB,588) & le(TB,624), # cohort 3 LFX[3.0] = TStart - TE, # labor force experience PNOJ[2.0] = NOJ - 1, # previous number of jobs # define variable for episode splitting Split_60 = 60, Split_120 = 120, Split_180 = 180, Split_240 = 240, Split_300 = 300, Split_360 = 360, Split_420 = 420, ); edef( # define single episode data ts = TSP, # starting time tf = TFP, # ending time org = 0, # origin state des = DES, # destination state split = Split_60, Split_120, Split_180, Split_240, Split_300, Split_360, Split_420, ); epdat( keep = TSP,TFP,EDU,COHO2,COHO3,LFX,PNOJ,PRES, dtda = d60.tda, # request TDA description of output file rrdat.d60 ) = rrdat.d60; # output file