thanks for the reply.
getting error on expression = "UCASE(FENAME)LIKE '%{}%'".format(pu.upper())
Traceback (most recent call last):
File "C:\GIS\Python Scripts\ZoomTo\ZoomToRoad.py", line 13, in <module>
arcpy.SelectLayerByAttribute_management(lyr,"NEW_SELECTION",expression)
File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy\management.py", line 6688, in SelectLayerByAttribute
raise e
ExecuteError: ERROR 000358: Invalid expression