Hi Yogesh,
around the call for the header, insert a repeating group of type D (Discrete expansion). Then it will be printed only once.
However, if I understood your intial post correctly, I don't see the need for a conditional output. A simple blank compression, used correctly, will do the trick.
Ralph