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
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 many bytes does a s9(7) sign trailing separate field occupy ?
What are some uses of the evaluate statement?
Name all the file-open modes
How an empty file to be checked?
Which is the difference between delimited by size and delimited by space?
At what point are extension eliminators mandatory?
how is the future of tandem mainframe?
What is drda ?
Explain host variables?
Explain a linkage segment
How scary is it to write code for a bank?
can we describe the results of opening for input empty vsam files in a cobol program?
How long have you been working on mainframes?
what is the other verb for release and write ?