Pakistan's National Security and Foreign Affairs Adviser Sartaj Aziz said that the two countries have agreed to carry out coordinated operations against terrorists along the common border.

The two countries have also agreed not to let anyone use their soil against each other, he told reporters here.

His remarks came after Chief of Army Staff (COAS) General Raheel Sharif visited Kabul on Wednesday, a day after Taliban massacred 148 people, including 132 students in Peshawar.

Sharif met Afghan President Ashraf Ghani and ISAF commander General Joseph Dunford to seek support against militants allegedly hiding in Afghanistan.

Aziz said that the Afghan leadership assured full cooperation in countering terrorism.

However, he ruled out joint operation with Afghan army and said that only coordinated actions would be taken against militants. He said Pak-Afghan officials will meet within two weeks to discuss measures for effective border control.

Pakistan is the country worst affected by terrorism in the world, he said adding that it is looking for Afghan cooperation against Tehreek-e-Taliban chief Mullah Fazlullahand other leaders allegedly hiding in Kunar province of Afghanistan.