Previous: General
Up: General
Previous Page: General
Next Page: Defining data sets
dsinit(mode,name,lun,msize,msiz2,ierr*)
int dsinit(mode,name,lun,msize,msiz2,ierr)
int mode;
char *name;
int lun;
int msize;
int msiz2;
int *ierr;
Initializes dspack. In client-server mode also connects to the server. This is the only call which distinguishes between client-server and local operation.
- MODE
- - operation mode:
- 0
- - local - dspack calls are executed by the current process
- 1
- - client - dsinit tries to connect to the server
- 2
- - server
- NAME
- - server and client names separated by a '/'
(for instance 'server-1/patrec')
- if mode=0
- server name is ignored, client name is optional
- if mode=2
- only server name should be specified (and no '/')
- LUN
- - fortran unit number for message output
- 6
- - normally standard output
- 0
- - no message output
- MSIZE
- - initial size of dspack memory in words (ignored if mode=1)
- MSIZ2
- - initial size of section 2 (permanent store) in words (ignored if mode=1)
- IERR*
- - error flag
- 0
- - succesful return