COAS tells troops to be ready for war