Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How we can disable the enabled CONDITIONS.

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How did PL/I originate?

1382


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

2892


What are the different options in OPTIONS?

1438


 How do you handle exception in PL/1?

1610


How can I try out PL/I?

1471


What do the compilers provide?

1379


What tools are available in PL/1?

1478


On what systems PL/1 is available?

1527


What is PL/I?

1356