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 |
how could you write a program in a structured format?
what optimum values can we find for freespace, ci etc?
If JOBA is in MSGW due to data decimal error and DUMP is generated and I found that Decimal field formatted with some special char which is coming from Input file amd file has millions of records. How I can find out on which record the error is occur. Please share your experience.....
How do you use sub-string as a Pseudo-variable in PL/1? How can we use the variables?
Redefines clause cannot be used in a) working-storage section b) 77 c) 66 d) elementary
how are start and xctl different?
HOW CAN YOU VIEW LAST 10 DATASETS CREATED BY YOU?
What is mainframe testing?
What is meant by an isolation level?
Total no of bytes in the following 01 rec-1 02 first-group 03 a1 pic x(4). 03 a2 pic 99. 02 second-group redefines first-group. 03 A3 pic999. 03 A4 pic 999. 02 third-group. 03 A5 occurs 5 times pic 99. A)22 B)16 C)12 D)10
Can you define a gdg?
Can you define notcat 2?