6.3.4.3 UserSpace クラス

コンストラクタ
UserSpace ( String library, String name )
 
メソッド
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 )
 
最大サイズ
 

ライブラリの長さ

10バイト

名前の長さ

10バイト

権限の長さ

10バイト

説明の長さ

50バイト

ユーザー・スペースの最大サイズ

16776704バイト

  
デフォルト
 

ユーザー・スペースのデフォルト・サイズ

8192バイト

デフォルトの説明

Java Service Manager (JSM)で作成

デフォルトの作成権限

*CHANGE

デフォルトのチェック権限

*USE

デフォルトの開始位置

1

 
public staticの定数
 

AUTHORITY_ALL

*ALL

AUTHORITY_USE

*USE

AUTHORITY_EXCLUDE

*EXCLUDE

AUTHORITY_CHANGE

*CHANGE

AUTHORITY_LIBCRTAUT

*LIBCRTAUT

 
コメント
checkメソッドには、DataQueueクラスと同じ機能があります。
writeメソッドは、ジョブのCCSIDを使用してUnicode文字列をバイトに変換します。
readメソッドは、指定したバイト数をユーザー・スペースから読み込みます。
readStringメソッドは、指定したバイト数をユーザー・スペースから読み込み、それをUnicode文字列として返します。