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 |
Why banking use IBM framework?
how can u view a vsam file using file-aid
what optimum values can we find for freespace, ci etc?
how do you seton setoff group of indicators
What is the function of iebgener?
hi provide info about any real time requirement in health care and banking services mainframe applications. pls send immediate reply to me.
How do you write from PL/1 code to JCL?
how to handle duplicate records in rpg program?
what is the role of the is numeric clause?
Redefines clause cannot be used in a) working-storage section b) 77 c) 66 d) elementary
what is the use of overlay keyword
how to handle -911 (deadlock) error in a db2 program so that the program will never abend?