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 meant by comp-3 and what is it used for?
How is manual testing done in MF environment? what all are the steps to follow?
What is distributed relational database architecture? And components?
What are the different types of table spaces?
What is the use of a COPYBOOK in Fileaid ?
What is the distinction amongst include and copy?
List the type of locks and explain each of them.
GO TO stmt which of the following is not true A) GO TO stmt is not essential in the sense that it is possible to write programs without using GO TO B) The target of the GO TO stmt being a procedure name avoiding GO TO result in a program with no procedure name C) Indiscriminate use of GO TO stmt can make the control structure program substantially complex D) Too many GO TO stmts make a program difficult to understand
What will happen if both steplib and joblib are determined?
Can we give +2 instead of +1 while creating a new gdg file?
who will provide realtime projects for me on mainframe banking Or health care domain on bangalore."it's urgent for me" pls send uregent reply
Can you explain function of iebgener?