A recording medium for storing a control program of an injection molding machine which is controlled by a control device according to molding conditions and injects and fills a flowable molding material into a mold to perform molding,
- wherein the control program makes a computer operate as the control device,
- the control device comprises a molding condition storage device and a determination device,
- the molding condition storage device stores the molding conditions, wherein the molding conditions comprise at least one of transition molding conditions from a state in which molding is stopped to an initiation of normal molding, and a normal molding condition during normal molding, and
- the determination device determines whether or not to perform molding using the transition molding conditions based on at least one of a time after the molding is stopped and a temperature at a predetermined position after the molding is stopped.