What is COUNTERS in PL/1? How to assign the COUNTER
variables? WHich Data Type it can be used for this?
Answers were Sorted based on User's Feedback
Answer / 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 |
what are the common errors that occured while programming in AS/400?
how to handle duplicate records in rpg program?
How joinkeys helps in sort?
what is the other verb for release and write ?
What is drda ?
how do u debug without using xpeditor ?
Why do you need a secondary index in an ims?
Tandem COBOL Interview questions (on TACL,SCOBOL,ENSCRIBE,PATHWAY0
What is the binary search?
What are the different types of table spaces?
what is the meaning of a (new, catlg, keep) disposition mean?
what is the meaning of notcat 2?