 |
» |
|
|
|
|  |  |
When using KSAMUTIL, the parameter LANG=langname or LANG= langnum may be supplied on the
BUILD command, as shown in Figure F-1 “KSAM File Test Program”. NATIVE-3000 is used as the default language attribute if no
language is specified. The language specified in the LANG= parameter must be installed on the system at the time the command is
issued for KSAMUTIL to build the file. If the language is not installed, an error message is returned and
the file is not built. Danish is specified as the language in the example. The language attribute of the KSAM file can be
checked by the VERIFY command (mode 3). Figure F-1 KSAM File Test Program
:RUN KSAMUTIL.PUB.SYS
HP32208A.03. 13 THU, FEB 16, 1984, 8:54 AM KSAMUTIL VERSION:A.03.13
>BUILD TEST;REC=-;80,3,F,ASCII;KEY=B,1,4;KEYFILE =TESTK;LANG=DANISH
>VERIFY
WHICH (1=FILE INFO, 2-KSAM PARAMETERS, 3-KSAM CONTROL, 4=ALL)?4
TEST.LORO.NLS CREATOR-SLORO
FOPTIONS(004005)=KSAM, :FILE, NOCCTL, F, FILENAME, ASCII, PERM
AOPTIONS(000400)=DEFAULT, NOBUF, DEFAULT, NO FLOCK, NO MR, IN
RECSIZE:SUB:TYP:LDNUM:DRT:UN.: CODE:LOGICAL PTR: END OF FILE:FILE LIMIT
-80: 9: 0: 3: 89: 2: 0: 0: 0: 1023
LOG. COUNT:PHYS. COUNT:BLK SZ:EXT SZ:NR EXT: LABELS:LDN: DISCADDR:
0: 0: -240: 43: 8: 0: 3:00000234251:
KEY FILE=TESTK KEY FILE DEVICE=4 SIZE= 114 KEYS= 1
FLAGWORD(000020)=RANDOM PRIMARY, FIRST RECORD=0, PERMANENT
KEY TY LENGTH LOC. D KEY BF LEVEL
1 B 4 1 N 168 1
DATA FILE = TEST VERSION= A.3.13
KEY CREATED= 47/'84 9: 0: 7.6 KEY ACCESS= 47/'84 9: 0:19.2
KEY CHANGED= 47/'84 9: 0: 8.5 COUNT START= 47/'84 9: 0: 8.6
DATA RECS = 0 DATA BLOCKS= 0 END BLK WD= 0
DATA BLK SZ= 120 DATA REC SZ= 80 ACCESSORS= 0
FOPEN 1 FREAD 0 FCLOSE 1
FREADDIR 0 FREADC 0 FREADBYKEY 0
FREMOVE 0 FSPACE 0 FFINDBYKEY 0
FGETINFO 1 FGETKEYINFO 0 FREADLABEL 0
FWRITELABEL 0 FCHECK 0 FFINDN 0
FWRITE 0 FUPDATE 0 FPOINT 0
FLOCK 0 FUNLOCK 0 FCONTROL 0
FSETMODE 0 FREE KEYBLK 0 FREE RECS 0
KEYBLK READ 2 KEYBLK WRITTEN 0 KEYBLK SPLIT 0
KEY FILE EOF 10 FREE KEY HD 0 SYSTEM FAILURE 0
MIN PRIME 0 MAX PRIME 0 RESET DATE
DATA FIXED TRUE DATA B/F 3 TOTAL KEYS 1
FIRST RECNUM 0 MIN RECSIZE 4 LANG DANISH
WHICH (1-FILE INFO, 2-KSAM PARAMETERS, 3-KSAM CONTROL, 4-ALL)?
>E
END OF PROGRAM
:
|
|