InterviewSolution
| 1. |
How Do We Handle Conditions In Pl/1? |
|
Answer» Condition handling : PL/I provides facilities to handle a variety of conditions that can ARISE during PL/I program execution. These conditions MAY be expected or unexpected and may be detected by the hardware (e.g ZERODIVIDE) or detected by PL/I (e.g. CONVERSION) or the operating system or other software. Using these facilities, you can indeed write applications in PL/I that can provide non-stop operations. No one comes CLOSE! You can even handle user initiated ATTENTION interrupts and normal and abnormal program termination. Condition handling : PL/I provides facilities to handle a variety of conditions that can arise during PL/I program execution. These conditions may be expected or unexpected and may be detected by the hardware (e.g ZERODIVIDE) or detected by PL/I (e.g. CONVERSION) or the operating system or other software. Using these facilities, you can indeed write applications in PL/I that can provide non-stop operations. No one comes close! You can even handle user initiated attention interrupts and normal and abnormal program termination. |
|