How we can disable the enabled CONDITIONS.
Answers were Sorted based on User's Feedback
Answer / diana
REVERT statement cancels the existing ON unit for the specified condition.
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / nandish shanabog c s
Few (though NOT ALL) ON unit can be disabled using NO<ON_UNIT_NAME> at the program level (at MAIN PROC), or procedure level or for a particular statement in PL1 program.
Example:
1.
To disable ENDFILE on-unit in your entire program, you may code as below:
(NOENDFILE):
MAINPGM: PROCEDURE OPTION(MAIN);
2.
To disable a on-unit for a particular procedure:
(NO<ON_UNIT>):
PROC1: PROCEDURE;
3.
To disable for a particular statement:
(NO<ON_UNIT>):
STATEMENT;
| Is This Answer Correct ? | 1 Yes | 0 No |
On what systems PL/1 is available?
How can I try out PL/I?
What are the ways through which you pass value to an program from JCL?
Difference between Do While and Do Until?
What are the different options in OPTIONS?
Where PL1 program will be compiled?
How do you handle exception in PL/1?
What do the compilers provide?
What are the file formats supported in PL/1?
Difference between main program and a sub program in PL/1?
Explain REENTRANT?
What is PL/I?