[C-ISAM] isbuild - C-ISAM 파일 생성
Posted 2008/08/26 15:56|
|
|
댓글 하나가 운영자에겐 커다란 힘이 됩니다!
isbuild
Use isbuild to create a C-ISAM file.
Syntax
int isbuild(filename, reclen, keydesc, mode)
char *filename;
int reclen;
struct keydesc *keydesc;
int mode;
filename is the name of the file without an extension.
reclen is the length of the record in bytes. If the record is to have a variable-length portion, reclen is
the maximum length of the record. reclen is a number between 1 and 32,511, inclusive.
record의 byte단위 크기. record가 가변 크기라면 reclen은 최대 허용값으로 지정. reclen은
1 ~ 32511내에서 지정가능.
keydesc is a pointer to a key-description structure that defines the primary key.
mode is a combination of an access-mode parameter, a locking-mode parameter and, optionally, a
length or logging parameter. You add an access-mode parameter to a lock-mode parameter to
specify the mode.
접근모드, 잠금모드, 특수모드의 매개변수들을 결합하여 지정가능.
Use one of the following access-mode parameters:
ISINPUT opens the file for input
입력 가능.
ISOUTPUT opens the file for output.
출력 가능.
ISINOUT opens the file for both input and output.
입출력 모두 가능.
Use one of the following locking-mode parameters:
ISEXCLLOCK specifies an exclusive file lock.
파일을 잠금.
ISMANULOCK specifies manual file or record locking, or no locking.
수동으로 파일이나 record를 잠금
ISAUTOLOCK specifies automatic record locking.
자동으로 record를 잠금.
You can also specify the following parameters:
ISVARLEN indicates that the record contains a
variable-length portion.
가변크기 부분이 있음을 나타냄.
ISFIXLEN indicates that the record does not contain
a variable-length portion.
가변크기 부분이 없음을 나타냄.
ISTRANS enables isrollback to reverse changes to
C-ISAM files within a transaction.
isrollback 가능.
ISNOLOG specifies that this call and subsequent
calls on this file are not logged.
Use isbuild to create a C-ISAM file.
Syntax
int isbuild(filename, reclen, keydesc, mode)
char *filename;
int reclen;
struct keydesc *keydesc;
int mode;
filename is the name of the file without an extension.
reclen is the length of the record in bytes. If the record is to have a variable-length portion, reclen is
the maximum length of the record. reclen is a number between 1 and 32,511, inclusive.
record의 byte단위 크기. record가 가변 크기라면 reclen은 최대 허용값으로 지정. reclen은
1 ~ 32511내에서 지정가능.
keydesc is a pointer to a key-description structure that defines the primary key.
mode is a combination of an access-mode parameter, a locking-mode parameter and, optionally, a
length or logging parameter. You add an access-mode parameter to a lock-mode parameter to
specify the mode.
접근모드, 잠금모드, 특수모드의 매개변수들을 결합하여 지정가능.
Use one of the following access-mode parameters:
ISINPUT opens the file for input
입력 가능.
ISOUTPUT opens the file for output.
출력 가능.
ISINOUT opens the file for both input and output.
입출력 모두 가능.
Use one of the following locking-mode parameters:
ISEXCLLOCK specifies an exclusive file lock.
파일을 잠금.
ISMANULOCK specifies manual file or record locking, or no locking.
수동으로 파일이나 record를 잠금
ISAUTOLOCK specifies automatic record locking.
자동으로 record를 잠금.
You can also specify the following parameters:
ISVARLEN indicates that the record contains a
variable-length portion.
가변크기 부분이 있음을 나타냄.
ISFIXLEN indicates that the record does not contain
a variable-length portion.
가변크기 부분이 없음을 나타냄.
ISTRANS enables isrollback to reverse changes to
C-ISAM files within a transaction.
isrollback 가능.
ISNOLOG specifies that this call and subsequent
calls on this file are not logged.
위의 정보가 도움이 되셨나요? 그렇다면 댓글 하나만 남겨주세요.
댓글 하나가 운영자에겐 커다란 힘이 됩니다!

