MemCom Reference Manual > MemCom (Old) Fortran77 API > Database Manager Functions > ldivdb

Name

ldivdb — Change size of sub-set

Synopsis

subroutine ldivdb(handle,name,ldiv,status)
integer*4 handle
character*(*) name
integer*4 ldiv
integer*4 status

Description

ldivdb changes or defines the sub-set size of a dataset. It is useful in situations where a dataset is created and written without specifying the sub-set length, i.e without reserving space on the database by a call to dssdb.

Parameters

handle

Database handle (input). The file handle handle may not exceed the maximum number of simultaneously open databases.

name

Name of dataset (input). The string may not exceed the maximum dataset name length.

ldiv

New sub-division number (input). ldiv must be greater than or equal to 0.

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. See MemCom error codes.