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 distinction amongst include and copy?

1029


can we describe the results of opening for input empty vsam files in a cobol program?

1055


At what point are extension eliminators mandatory?

1045


What is the use of base and index registers in the IBM 360/370 processor?

3807


What is the term “where” for?

1059


Is it possible to move the alphanumeric variables to a numeric variable?

1289


When the job statement is used?

1027


Explain foreign keys?

1075


If an array is multi-dimensional dynamic array how do you deal with it & provide me some examples?

2496


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

1283


Can you name a few software running under the mainframe?

989


Explore the syntax of the evaluate statement?

1015


have you ever know what is the meaning of Packed Decimal  

1610


Name all the file-open modes

1129


How do you get parameter from JCL to PL1?

2487