バルク・ロード・データのサンプル

リストに、UNIXコマンドcat servicefileを使用した正しい形式のサンプル・データ・ファイルを示します。このサンプルでは、TRANSFERLOGIN,およびPAYROLLサービス定義がBULKPKGにロードされます。

バルク・ロード・データのサンプルのリスト

service=TRANSFER
export=true
inbuf=FML
outbuf=FML
param=ACCOUNT_ID
type=integer
access=in
count=2
param=SAMOUNT
type=string
access=in
param=SBALANCE
type=string
access=out
count=2
param=STATLIN
type=string
access=out

service=LOGIN
inbuf=VIEW
inview=LOGINS
outview=LOGINR
export=true
param=user
type=string
access=in
param=passwd
type=string
access=in
param=token
type=integer
access=out

service=PAYROLL
inbuf=FML
outbuf=FML
param=EMPLOYEE_NUM
type=integer
access=in
param=SALARY
type=float
access=inout
param=HIRE_DATE
type=string
access=inout

service=QUERY
export=true
inbuf=VIEW32
outbuf=VIEW32
inview=MYVIEW2
outview=MYVIEW2
       param=Long1      
       type=long
       access=inout  
       count=1

       param=Myview1
       type=view32
       subtype=MYVIEW1 
       access=inout
       count=1
(
       param=Float1
       type=float
       access=inout
       count=1

       param=Double1
       type=double
       access=inout
       count=1

       param=Long1
       type=long
       access=inout
       count=3

       param=String1
       type=string
       access=inout
       count=2
)