Here is an image showing the pin diagram of this transistor.
Classification of hFE
The KSB1017-R transistor can have a current gain of 40 to 80. The gain of the KSB1017 will be in the range from 40 to 240, for the KSB1017-O it will be in the range from 70 to 140, for the KSB1017-Y it will be in the range from 120 to 240.
Complementary NPN transistor
The complementary NPN transistor to the KSB1017-R is the KSD1408-R.
SMD Version of KSB1017-R transistor
The BDP952 (SOT-223) is the SMD version of the KSB1017-R transistor. These transistors are of the same type, have similar parameters and are designed for surface mounting.
Replacement and Equivalent for KSB1017-R transistor