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...

What is COUNTERS in PL/1? How to assign the COUNTER
variables? WHich Data Type it can be used for this?

Answer Posted / sravan

To count number of operations occured we use counters.
DCL I FIXED BIN(15); /* DECLARATION of counter */
DCL eof bit(1) initial ('1'b);
DCL 1 var_b,
2 inrec char(2);
read file(filename) into(var_b);
Do while(!eof);
put skip list('Hi');
i = i + 1;
read file(filename) into(var_b);
end;

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is mainframe application testing?

1050


Name all the file-open modes

1078


What is meant by an isolation level?

1011


How do you eliminate the duplicates?

914


Explain referential integrity?

1100


Explain identify whether a call statement is a static or dynamic call?

1003


What are the different types of table spaces?

987


How IBM framework work?

2233


What is the advantage of defragmentation?

963


How are composite and multiple indexes different?

1006


Why do you need a secondary index in an ims?

958


What is mainframe computer /system?

1019


What are the different types of PL/1 files?

2171


How is data retrieved from multiple tables using a single sql statement?

1028


what is unit testing ? on which basis you will write test case ?

2008