Grep for a particular ID in zip files

Hi All,

I work on Sunfire system and I have some 1000's of zip files in a directory.
These files conatin some unique ID's and details related to that ID.
I want the details of a particular ID from all these files.
Please let me know how to grep for that ID to get the complete details of it.
Iam doing in the below way:

gzgrep 12345 Details.gz >> Id.txt

Its Urgent.Please reply me soon.

Regards,
Jyothi

How system is going to understand till what extend / line in a given file pertain to the ID you have passed. In your file there should be some separator which is going to denote the end of detail related to given ID