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
What is mainframe application testing?
Name all the file-open modes
What is meant by an isolation level?
How do you eliminate the duplicates?
Explain referential integrity?
Explain identify whether a call statement is a static or dynamic call?
What are the different types of table spaces?
How IBM framework work?
What is the advantage of defragmentation?
How are composite and multiple indexes different?
Why do you need a secondary index in an ims?
What is mainframe computer /system?
What are the different types of PL/1 files?
How is data retrieved from multiple tables using a single sql statement?
what is unit testing ? on which basis you will write test case ?