NoOfFields - script function

The NoOfFields script function returns the number of fields in a previously loaded table. If the function is used within a LOAD statement, it must not reference the table currently being loaded.

Syntax:  

NoOfFields(table_name)

Arguments:  

Argument Description
table_name The name of the table.

Example:  

LET a = NoOfFields('tab1');