> For the complete documentation index, see [llms.txt](https://docs.tibero.com/prosync/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tibero.com/prosync/administration/admin/configuration.md).

# 환경설정

ProSync Admin Utility의 환경을 설정하는 방법과 시스템 변수에 대해 안내한다.

## 시스템 변수 <a href="#undefined" id="undefined"></a>

시스템 변수는 [**SET 명령어**](/prosync/administration/admin/command/lists.md#set)를 통해 변경할 수 있다.

### HISTORY <a href="#history" id="history"></a>

명령어 히스토리의 크기를 설정한다.

{% code collapsedlinecount="10" %}

```sh
SET HIS[TORY] {n}
```

{% endcode %}

<table><thead><tr><th width="130">항목</th><th>설명</th><th data-hidden></th></tr></thead><tbody><tr><td>n</td><td>명령어 히스토리의 크기이다. (기본값: 50)</td><td></td></tr></tbody></table>

### LINESIZE <a href="#linesize" id="linesize"></a>

화면상의 한 라인의 길이를 설정한다. 라인 길이의 최소값은 1이며, 최댓값은 운영체제에 따라 다르다.

{% code collapsedlinecount="10" %}

```sh
SET LINE[SIZE] {n}
```

{% endcode %}

<table><thead><tr><th width="130">항목</th><th>설명</th><th data-hidden></th></tr></thead><tbody><tr><td>n</td><td>화면상의 한 라인의 길이이다. (기본값: 80)</td><td></td></tr></tbody></table>

### NUMWIDTH <a href="#numwidth" id="numwidth"></a>

NUMBER 타입을 출력할 길이를 설정한다. LINESIZE를 넘을 수 없다.

{% code collapsedlinecount="10" %}

```sh
SET NUM[WIDTH] {n}
```

{% endcode %}

<table><thead><tr><th width="130">항목</th><th>설명</th><th data-hidden></th></tr></thead><tbody><tr><td>n</td><td>NUMBER 타입 데이터의 기본 출력 길이이다. (기본값: 10)</td><td></td></tr></tbody></table>

### PAGESIZE <a href="#pagesize" id="pagesize"></a>

한 화면에 출력할 라인 수를 설정한다.

{% code collapsedlinecount="10" %}

```sh
SET PAGE[SIZE] {n}
```

{% endcode %}

<table><thead><tr><th width="130">항목</th><th>설명</th><th data-hidden></th></tr></thead><tbody><tr><td>n</td><td>한 페이지의 라인 개수이다. (기본값: 24)</td><td></td></tr></tbody></table>

### PROMPT <a href="#prompt" id="prompt"></a>

화면상의 프롬프트 문자를 설정한다.

{% code collapsedlinecount="10" %}

```sh
SET PROM[PT] {prompt_string}
```

{% endcode %}

<table><thead><tr><th width="130">항목</th><th>설명</th><th data-hidden></th></tr></thead><tbody><tr><td>prompt_string</td><td><p>프롬프트로 사용할 문자열이다. (기본값: "Admin>")</p><p>이 문자열을 중괄호({ })로 감싸면 환경변수로 인식된다.</p><p>예를 들어 '{PRS_PROMPT}'이라고 지정하면 환경변수 $PRS_PROMPT의 값이 치환되어 프롬프트로 사용된다. 이때 환경변수의 이름은 대소문자를 구분한다.</p></td><td></td></tr></tbody></table>

### SUFFIX <a href="#suffix" id="suffix"></a>

파일 확장자를 생략했을 때 사용할 파일 확장자를 설정한다.

{% code collapsedlinecount="10" %}

```sh
SET SUF[FIX] {extension}
```

{% endcode %}

<table><thead><tr><th width="130">항목</th><th>설명</th><th data-hidden></th></tr></thead><tbody><tr><td>extension</td><td>기본으로 사용할 파일 확장자이다. (기본값: sql)</td><td></td></tr></tbody></table>
