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 the difference between the mro & isc?

1018


What is difference between static call and dynamic call?

1016


Can min or max be used with alphanumeric data?

965


Can I redefine an x(200) field with a field of x(100) ?

1195


Is it rquired any server for Ibm framework? Give me list of Ibm framework & recent version IBm framework?

2228


What is inspect?

992


Write in brief about clusters?

964


What is mainframe testing?

1093


How scary is it to write code for a bank?

980


what is the other verb for release and write ?

994


What is the function of iebgener?

1037


how to handle -911 (deadlock) error in a db2 program so that the program will never abend?

1019


Tandem COBOL Interview questions (on TACL,SCOBOL,ENSCRIBE,PATHWAY0

23626


how do u start your process after conducting impact analysis ?

2106


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

2002