People have been using BJTs in various configurations with either of the junctions shorted. The following queries persist for these configurations. Links to previous questions are added
1)Base collector shorted This configuration is used when the bjt is to be configured as a diode. Now, what would be the ratio of the base current to the collector current is this configuration and does this have any relation to the standard Hfe
2)Base emitter shorted Mentioned as an alternative to using zeners. In that case can I use a BJT with base-collector shorted and reverse biased in replacement for a low voltage zener. (in place of standard zeners which have a soft knee, saw this link which mentions a sharp knee for this config). Say for example I use a BC817 as a replacement for a 5V zener. And in this case I expect the current rating to be the lower of Ic and that dictated by the power rating of the device