[O:1]=[C:2]([CH2:9][CH2:10][CH3:11])[CH2:3][C:4]([O:6][CH2:7][CH3:8])=[O:5].OCC[C:15]#[N:16]>>[O:1]=[C:2]([CH2:9][CH2:10][CH3:11])[CH2:3][C:4]([O:6][CH2:7][CH2:8][C:15]#[N:16])=[O:5]A mixture of ethyl 3-oxohexanoate (33.7 mmol) and 3-hydroxypropionitrile (28.1 mmol) were placed in a round bottom flask (magnetically stirred) equipped with a short distillation path. The resulting mixture was gradually heated to 180-205° C. in an oil bath. The distillate was collected. The mixture was then cooled to room temperature and the residue was distilled under reduced pressure to give 2-cyanoethyl 3-oxohexanoate.