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

What is inspect?

645


Can you explain function of dbctl?

758


How many bytes does a s9(7) comp-3 field occupy ?

627


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

742


What is meant by a bolt dispute?

959






What is database descriptor?

665


Can I redefine an x(100) field with a field of x(200)?

644


Define where and its usage?

635


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

1780


What is the binary search?

630


what is the meaning, the advantages and which are the types of evaluate statement?

669


Give the format of using and giving in sort statement. What are the restrictions with it?

730


What will happen if both steplib and joblib are determined?

592


If an array is multi-dimensional dynamic array how do you deal with it & provide me some examples?

2080


My program has an array defined to have 10 items. Due to a bug, I find that even if the program access the 11th item in this array, the program does not abend. What is wrong with it?

716