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 is the meaning of a (new, catalog, keep) disposition mean?
State the maximum value up to which volumes can be inserted to an stogroup?
what is the use of overlay keyword
What is the need to code commits in batch programs?
how do we describe static call and dynamic call?
suppose I have two tables a and b. Both tables are connected with ssn number as foreign key. I want to retrieve a column data from b table. How will you write a query?
how would find total records in files using sequential?
How to compile PL/1 DB2 program? Please provide me details on this process?
List the type of locks and explain each of them.
can we use already existing access path?
What is the difference between the mro & isc?
what is use of linkage section?