As the negotiating clock ticks down, the country's two main railways are set for a nationwide strike or lockout in less than two weeks after a ruling that their work does not amount to an essential service.