Fujitsu UDS/SQL V2.5 사용자 설명서

다운로드
페이지 324
Schema DDL
Defining a vector
U929-J-Z125-9-76
  
65
D
ok
us
c
h
abl
on
en
 1
9x
24 V
e
rs
ion
 7
.3
us
 f
ü
r F
ram
eM
ak
er
 V
7
.x
v
o
m
 1
4.
02
.2
00
7
©
 c
o
gni
tas
 Gm
b
H
 20
01-
20
07
24
. Ok
tobe
r 20
07
  S
ta
nd
 0
9:
30
.2
3
P
fa
d:
 G
:\
v
og
t\
fs
c
\ud
s
\M
anu
al
e
\e
n\
ud
s
e
nt
_e\
u
ds
ent
.k
0
4
4.3 Defining a vector 
                           
⎧PICTURE.....⎫
[level-number ]vector-name 
⎨            ⎬ OCCURS integer TIMES.
                           
⎩TYPE.....   ⎭
A vector is an item with a repetition factor. The repetition factor must be greater than 1. It 
denotes how many duplicates of the item are grouped into the vector. 
A vector is defined in the same way as an item as described on 
integer
 specifies the repetition factor. 
Items of variable length and key items may not be declared vectors. 
level-number
 denotes whether the vector is part of a repeating group:
If the vector is not to be part of a repeating group, the specified level number must be the 
smallest level number in the whole record type. 
If you want to declare the vector to be part of a repeating group, proceed as described on 
The limit is the maximum record length. 
Example
02 CUST-ADDRESS PICTURE IS X(20) OCCURS 2 TIMES.