How we can disable the enabled CONDITIONS.

Answers were Sorted based on User's Feedback



How we can disable the enabled CONDITIONS...

Answer / diana

REVERT statement cancels the existing ON unit for the specified condition.

Is This Answer Correct ?    3 Yes 1 No

How we can disable the enabled CONDITIONS...

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

Post New Answer

More IBM PL/1 Interview Questions

What is the difference between bulitin fuction VERIFY and INDEX? 

2 Answers  


How we can disable the enabled CONDITIONS.

2 Answers  


 What is meant by REORDER option in PL/1?

1 Answers  


Difference between main program and a sub program in PL/1?

0 Answers  


What is the difference between DEFINED attribute and LIKE atrribute.

1 Answers  






 Pseudo Variables in PL/1?

1 Answers  


What is the difference between Based and Define?

2 Answers   IBM,


How did PL/I originate?

0 Answers  


What is the use of DEFINED attribute in DCL statement?

1 Answers  


 What are the different datatypes in PL/1?

1 Answers  


Difference between Do While and Do Until?

2 Answers  


 Explain REENTRANT?

1 Answers  


Categories