It's actually impossible to be both long and short at the same time. If your net position, across all accounts, is greater than 0 then you're long. If your net position, across all accounts, is less than 0 then you're short.
Being long 100 shares in one account, and selling short 100 shares...