A method for controlling an image forming apparatus which has a notification unit notifying information, and to which a first apparatus and a second apparatus are connectable, wherein the first apparatus is configured to perform punching on a sheet by using a punching member, and the second apparatus is configured to perform binding so as to obtain a bookbinding article in which a binding member penetrates in a ring shape through punched holes of a plurality of sheets that are punched by the first apparatus,
- the method comprising:
- controlling, in a case of starting a job using the first apparatus and the second apparatus and determining that a jam has occurred in a stacking part of the second apparatus, to cancel the job, and thereafter to cause the notification unit to notify that a thickness of a sheet stack stacked on the stacking part of the second apparatus exceeds a thickness that enables to be bound by the binding member used by the second apparatus.