Narrative:

After being cleared for the visual approach; ATC called out traffic and advised leveling at 5;000 ft until traffic passed. I was able to make visual contact with the traffic below. The traffic continued to climb. At that time I turned the aircraft to the left to create more space and began to level the aircraft prior to reaching 5;000 ft. At that time I watched the traffic pass below us and started a shallow descent for the airport. We received the traffic alert followed by a RA that lasted approximately 5 seconds. I complied with the RA. I should have been more aggressive with my spacing for the other traffic.

Google
 

Original NASA ASRS Text

Title: Air Carrier flight crew reports a TCAS RA arriving SJC from the south at 5;000 FT. Climbing slightly and turning to avoid VFR traffic.

Narrative: After being cleared for the visual approach; ATC called out traffic and advised leveling at 5;000 FT until traffic passed. I was able to make visual contact with the traffic below. The traffic continued to climb. At that time I turned the aircraft to the left to create more space and began to level the aircraft prior to reaching 5;000 FT. At that time I watched the traffic pass below us and started a shallow descent for the airport. We received the traffic alert followed by a RA that lasted approximately 5 seconds. I complied with the RA. I should have been more aggressive with my spacing for the other traffic.

Data retrieved from NASA's ASRS site as of July 2013 and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.