MemCom Reference Manual > MemCom ftn Fortran API > Sparse Table Functions > mcf_st_row_num

Name

mcf_st_row_num — Get the current number of rows for a sparse-table dataset

Synopsis

subroutine mcf_st_row_num(dsid,num_row)
integer*4 dsid
integer*8 num_row

Description

mcf_st_row_num gets, for the sparse-table dataset identified by dsid, the current number of rows. For a newly-created dataset or an emptied dataset, the number of rows is 0.

Parameters

dsid (input)

Dataset identifier.

num_row (output)

If completed successfully, the current number of rows of the dataset is returned; this is a value between 0 and MemCom's limit for the number of sparse-table rows. Otherwise, a negative value indicating the MemCom error number is returned.

See Also

mcf_st_dataset_clear

mcf_st_row_append