1. MADIO is a Profile parameter, and has no equivalent Session parameter. This means that you can't change it from within a program.
You can, however to override the System value using a Profile (for TSO/CICS) or the PARM keyword (for batch).
2. The current value of MADIO can be obtained by using Natural User Exit USR1005 (Try SYSEXT from any command line).