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 |
can alternate index use in ESDS since it does not contain primary index? if yes can you explain?
what optimum values can we find for freespace, ci etc?
Explain eib?
WHAT ARE THE RETRIVAL ORDER OF FILES IN RPG&sql?
When are scope terminators compulsory?
tell me about impact analysis ?
What is meant by a bolt dispute?
suppose I have 1000 rows in a db2 table. I want to update first 100 records, how do I do it?
Explain foreign keys?
how do we prepare test data using file-aid tool?
How an empty file to be checked?
What is the meaning of a (new, catalog, keep) disposition mean?