What is COUNTERS in PL/1? How to assign the COUNTER
variables? WHich Data Type it can be used for this?
Answer Posted / nygrande
COUNT is a Builtin in PL/1.
SYNTAX:
I = COUNT (file-name);
EXAMPLE:
I = COUNT (PAYROLL);
It returns the number of data items transfered during the
last GET or PUT of the file PAYROLL.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
can you change the attribute in mapset? if so how?
What is inspect and what is it used for?
can we describe the results of opening for input empty vsam files in a cobol program?
Express the distinction between jes2 and jes3?
What is the difference between inrec and outrec?
Can you define foreign keys?
What is the advantage of defragmentation?
What is defragmentation?
Where is the vsam ksds placed?
What is the mainframe computer?
what are the parameter we cannot use in procedure? How many instream we can write in single jcl? Can we call instream to catalog and catalog to instream?
How many bytes will a s9(8) comp field occupy ?
When do you get -811 sqlcode and how to resolve it?
how do we prepare test data using file-aid tool?
What is the difference between general testing and mainframe testing?