MemCom Reference Manual > MemCom ftn Fortran API > Database Manager (DB) > mcf_db_print_set

Name

mcf_db_print_set — Print dataset (Fortran API)

Synopsis

subroutine mcf_db_print_set(handle,cname,status)

integer*4 handle
character*(*) name
integer*4 status

Description

mcf_db_print_set prints the contents of the dataset identified by handle and name to the standard output.

[Note]Note

In the current version of mcf_db_print_set all data elements are printed.

Parameters

handle

Database file handle of dataset to be printed (input).

name

Name of dataset to be printed (input). The string may not exceed the maximum dataset name length. name may contain shell wild card pattern matching characters, the pattern matching mechanism being the same as the one found in the UNIX Bourne shell. If all datasets are to be printed, set pattern to "*" .

status

Status code returned (output). Upon successful completion of the operation, the status value 0 is returned. A negative value is returned, if an error has been detected. A positive value is returned, if a warning has been issued.

Bugs

In the current version of mcf_db_print_set all data elements are printed, i.e there is no selective output available.

The column formats are fixed, i.e 12 digits wide for I and E data, and 22 digits wide for J and F data.