P2N2222A is an obsolete NPN transistor that I found an alternate for, here are the relevant specifications:
|Voltage Collector-Emitter Breakdown (MAX)||40V|
|Mounting Type||Through Hole|
|Package/Case||TO-226-3, TO-92-3 Long Body|
|Current Collector Max (Ic)||600mA|
There are many similar parts with similar part numbers compared to P2N2222A that have pretty close specifications: Discrete Semiconductor Products | Transistors - Bipolar (BJT) - Single | DigiKey where you could substitute with the following part.
The TechForum Cross-Reference category is for parts that Digi-Key does not sell or parts that have gone obsolete. Our Engineers and Techs have reviewed the specifications for these parts and made a recommendation for a replacement. Please review the suggested part to ensure it will work for your application.