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 the difference between the mro & isc?
What is difference between static call and dynamic call?
Can min or max be used with alphanumeric data?
Can I redefine an x(200) field with a field of x(100) ?
Is it rquired any server for Ibm framework? Give me list of Ibm framework & recent version IBm framework?
What is inspect?
Write in brief about clusters?
What is mainframe testing?
How scary is it to write code for a bank?
what is the other verb for release and write ?
What is the function of iebgener?
how to handle -911 (deadlock) error in a db2 program so that the program will never abend?
Tandem COBOL Interview questions (on TACL,SCOBOL,ENSCRIBE,PATHWAY0
how do u start your process after conducting impact analysis ?
what is unit testing ? on which basis you will write test case ?