6.3.4.3 UserSpace Class
Constructors
UserSpace ( String library, String name )
Methods
String getEncoding ()
String check ()
String check ( String authority )
boolean create ()
boolean create ( int initialSize )
boolean create ( int initialSize, String description )
boolean create ( int initialSize, String authority, String description )
boolean delete ()
boolean write ( String data )
boolean write ( byte[] data )
boolean write ( int startPosition, String data )
boolean write ( int startPosition, byte[] data )
byte[] read ( int readLength )
byte[] read ( int startPosition, int readLength )
String readString ( int readLength )
String readString ( int startPosition, int readLength )
Maximum sizes
|
Defaults
|
Public static constants
|
Comments
The check method has the same functionality as the DataQueue class.
The write method will convert the Unicode String into bytes using the CCSID of the job.
The read method will read the specified number of bytes from the user space.
The readString method will read the specified number of bytes from the user space and return it as a Unicode string.