Hatami made the remarks in a meeting with a number of Iraqi military commanders in Tehran on Thursday, IRNA reported.
Hatami said the common threats and opportunities necessitate closer consultations between Tehran and Baghdad for protecting the interests of the two nations and ensuring regional security and stability.
Highlighting Iran’s contribution to stability and safety of Iraq, the general said the Iranian and Iraqi forces’ devotion guarantees security in both countries, adding that Iraq would have disintegrated without steadfast cooperation between the two neighbors.
Hatami also called for the enhancement of military and defense cooperation with Iraq.
In July 2017, Iran and Iraq signed an agreement to boost military cooperation in a host of fields, including counterterrorism.
Based on the deal, Tehran and Baghdad have tried to promote interaction and share experiences in the fight against terrorism and extremism, work together to ensure border security, and provide each other with training and logistical, technical and military support.