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
How to send a sms to a mobile through mainframe vm’s?
Name the various types of tables spaces.
what are the parameter we cannot use in procedure? How many instream we can write in single jcl? Can we call instream to catalog and catalog to instream?
What is distributed relational database architecture? And components?
What do you mean by linkage section?
we cant write data into file using cl program then what is sndf
How do you create a like table?
How to declare host variables?
Is it possible to move an alphanumeric incentive to a numeric field?
What is the function of currentdata option in bind?
How many module come in Ibm framework?
What is downtime and what might be the reason?
What is the term “where” for?
What is the maximum value that can be stored in s9(8) comp?
What is the mainframe computer?