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


Please Help Members By Posting Answers For Below Questions

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.....

1728


How many bytes does a s9(7) sign trailing separate field occupy ?

626


What are some uses of the evaluate statement?

510


Name all the file-open modes

657


How an empty file to be checked?

573






Which is the difference between delimited by size and delimited by space?

598


At what point are extension eliminators mandatory?

543


how is the future of tandem mainframe?

2871


What is drda ?

597


Explain host variables?

561


Explain a linkage segment

547


How scary is it to write code for a bank?

570


can we describe the results of opening for input empty vsam files in a cobol program?

551


How long have you been working on mainframes?

568


what is the other verb for release and write ?

559