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 |
Explain index cardinality?
How to compare two files by using sort?
in options (main) , what is meaning of main . if u not used main what will happen? After compiling, os will not understand where to load and execute from
What is a configuration management system, give examples?
how to handle -911 (deadlock) error in a db2 program so that the program will never abend?
bind by copy...bind by ref?
how can we define a gdg?
have you ever know what is the meaning of Packed Decimal
I want to increse the size of one existing dataset, can anyone tell me the TSO command throgh that I can edit it.
How will u give input data to cobol program apart from PARM & Instream data?
how are start and xctl different?
What are the different types of PL/1 files?