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 unit testing ? on which basis you will write test case ?

1584


Can you explain function of iebgener?

599


Is it possible to move an alphanumeric incentive to a numeric field?

561


What is inspect and what is it used for?

538


What is meant by comp-3 and what is it used for?

548






State the difference between jes2 and jes3?

564


What is the function of currentdata option in bind?

569


How IBM framework work?

1778


How to compare two files by using sort?

581


List the type of locks and explain each of them.

538


suppose if you added a coloumn to db2 table, How would it be the Impact analysis?

1524


what is difference between file-aid tool and file-aid utility?

880


10. Why mainframe testing is so important? Give any three advantages of Mainframe Testing?

3061


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

766


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

1848