
| Name | Value |
|---|---|
| NAME | DSIYUTL3 FILECNT |
| TAG | FILECNT |
| ROUTINE | DSIYUTL3 |
| RETURN VALUE TYPE | SINGLE VALUE |
| WORD WRAP ON | TRUE |
| DESCRIPTION | Search the 0 node of the given file to find the number of entries in the file. If the 4th piece is not populated, loop through the file to get the count. |
| INPUT PARAMETER |
|
| RETURN PARAMETER DESCRIPTION |
DSIYRET = "-1^Error Message" if errors
= " 0^No records found" if empty
= " 1^#" for number of records
|