IRF and OSR

See [Correlated shocks and impulse response functions).
For OSR, please post under a more specific heading for others to help you.