User exit 2 - PLOG extents

Hi,

I’m trying to set up Adabas user exit 2 to archive PLOGs to TSM as they are closed.

My C skills are rudimentary but I have managed to modify the supplied example C program to call a script passing the file name of the closed PLOG as a parameter.

This works fine if the PLOG is for a complete session but if it is an extent (eg log switch without ET-sync) where the file name has the (n) extension, I can’t work out a way to build and pass the file name. Does anyone else have a working example they would be willing to share that caters for this situation?

Regards,

Graeme Lane

Hi Graeme,

The parameter logname contains also the information on the PLOG extent; its value is, for example, “PLG.5(2)”.

Regards,
Wolfgang