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 can we repair a soc-7 error?
Please send me the real time scenarios in Mainframe Project... i.e., it may be in banking or insurance sector or any other no problem..... please send your mails to krishnaprasadbvs@gmail.com
Explain eib?
How scary is it to write code for a bank?
What is the difference between inrec and outrec?
What is database descriptor?
Name all the file-open modes
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?
List the type of locks and explain each of them.
When are scope terminators compulsory?
How IBM framework work?
Can you explain referential integrity?
Explain path?
Are scope terminators compulsory? If they are, when?
Tell about how do you eliminate the duplicates?