[AIX 진단 서브시스템 16] 헤더 파일, 사용자 인터페이스, 메뉴 예
https://archive.horanglab.com/posts/aix-diag-ui
핵심 정리
- 진단 코드를 컴파일할 때 쓰는 헤더 파일은
/usr/include/diag에 있으며, 이 안내서의 변수는 모두 이 헤더들에 있습니다. - 화면 유형은 INFORMATIVE, SINGLE SELECTION, MULTIPLE SELECTION, DIALOG SELECTION, TRANSITIONAL, POPUP 여섯 가지입니다. DA는 이 가운데 넷(INFORMATIVE, SINGLE SELECTION, TRANSITIONAL, POPUP)만
diag_resource_screen·diag_progress·diag_popup으로 쓰고, 작업은 여섯 가지 모두를diag_task_screen등으로 씁니다. - 화면은 최소 24줄 × 80열이며, 지시(INSTRUCTION) 줄은 화면 유형에 따라 자동으로 붙습니다(예: "Use Enter to continue.", "Please stand by.").
- DA 화면 첫 줄에는 동작(TESTING, ANALYZING ERROR LOG 등), 시험 모드(ADVANCED MODE, LOOP MODE), 메뉴 번호가, 둘째 줄에는 자원 이름과 위치 코드가 옵니다. 작업 화면의 제목은 모두 대문자로 씁니다.
- 진행 표시는 TRANSITIONAL 화면 아래쪽 팝업이며 30자 이하 한 줄로 씁니다. 실행 시간 옵션 작업(
DIAG_NO_PROGRESS)으로 끌 수 있습니다. - 메뉴 예의 번호: 801001 운영 안내, 801002 기능 선택, 801003 진단 모드 선택, 801004 시험 방법·작업 선택, 801006 자원 선택, 801009 실행 시간 옵션, 801010 문제 없음, 801011 추가 자원 필요, 801014 문제 보고, 801020 빠진 자원, 801030 새 자원.
| 항목 | 내용 |
|---|---|
| 버전 | AIX 5.3, AIX 6.1 (내용이 같음) |
| 원문 | Understanding the Diagnostic Subsystem for AIX — 5.3판 3장(194210쪽), 6.1판 184200쪽 |
| 헤더 위치 | /usr/include/diag |
| 화면 함수 | diag_resource_screen, diag_task_screen, diag_progress, diag_popup |
진단 헤더 파일
이 안내서에서 쓰는 변수는 모두 진단 헤더 파일 가운데 하나에 있습니다.
진단 코드를 컴파일하는 데 쓰도록 여러 파일이 /usr/include/diag 디렉터리에 함께 실려 옵니다.
영어 원문
Diagnostic header files
All variables used by this guide should be found in one of the diagnostic header files.
Several files are shipped to the /usr/include/diag directory for use with compiling diagnostic code.
진단 사용자 인터페이스
다음 절들은 진단 응용 프로그램과 진단 작업이 진단 라이브러리의 인터페이스로 여러 화면 유형을 표시하는 방법을 설명합니다. 진단 서브시스템은 여러 표시 환경을 지원합니다. 메뉴 인터페이스는 표시 환경과 무관하게 설계되었으며, 라이브러리 루틴이 표시 환경에 맞는 메뉴 구조를 만듭니다.
화면 유형
진단 서브시스템은 여섯 가지 화면 유형을 쓰며, 함수 네 개로 표시합니다.
| 화면 유형 | 진단 응용 프로그램 | 진단 작업 |
|---|---|---|
| INFORMATIVE | diag_resource_screen |
diag_task_screen |
| SINGLE SELECTION | diag_resource_screen |
diag_task_screen |
| MULTIPLE SELECTION | 해당 없음 | diag_task_screen |
| DIALOG SELECTION | 해당 없음 | diag_task_screen |
| TRANSITIONAL | diag_resource_screen, diag_progress |
diag_task_screen, diag_progress |
| POPUP | diag_popup |
diag_popup |
화면 크기 가정
진단을 창 안에서 실행하려면 화면이 적어도 24줄 × 80열이어야 합니다.
지시(INSTRUCTION) 줄
지시 줄은 화면 유형에 따라 자동으로 붙습니다. 지시 줄에 쓰는 메시지는 다음과 같습니다.
| 화면 유형 | 지시 줄 |
|---|---|
| INFORMATIVE | Use Enter to continue. |
| SINGLE SELECTION | Make selection, use Enter to continue. |
| MULTIPLE SELECTION | Make selection(s), use Commit to continue. |
| DIALOG SELECTION | Enter selection(s), use Commit to continue. |
| TRANSITIONAL | Please stand by. |
| POPUP | 해당 없음 |
영어 원문
Diagnostic user interface
The following sections describe how Diagnostic Applications and Diagnostic Tasks should use the interfaces provided in the Diagnostic Library to display the different screen types. The Diagnostic Subsystem supports various display environments. The menu interfaces are designed to be display environment independent, with the library routine(s) building the correct menu structures depending on the display environment.
Screen Types
The Diagnostic Subsystem uses six different screen types, displayed by four different functions:
| Screen Type | Diagnostic Applications | Diagnostic Tasks |
|---|---|---|
| INFORMATIVE | diag_resource_screen |
diag_task_screen |
| SINGLE SELECTION | diag_resource_screen |
diag_task_screen |
| MULTIPLE SELECTION | n/a | diag_task_screen |
| DIALOG SELECTION | n/a | diag_task_screen |
| TRANSITIONAL | diag_resource_screen diag_progress |
diag_task_screen diag_progress |
| POPUP | diag_popup |
diag_popup |
Screen Size Assumptions
In order for Diagnostics to run in a window, a minimum screen dimension of 24 lines by 80 columns is required.
INSTRUCTION LINE
The INSTRUCTION LINE will be added automatically depending on the screen type. The following table illustrates the messages used for the INSTRUCTION LINE.
- INFORMATIVE —
Use Enter to continue. - SINGLE SELECTION —
Make selection, use Enter to continue. - MULTIPLE SELECTION —
Make selection(s), use Commit to continue. - DIALOG SELECTION —
Enter selection(s), use Commit to continue. - TRANSITIONAL —
Please stand by. - POPUP — n/a
진단 응용 프로그램의 화면
진단 응용 프로그램은 INFORMATIVE, SINGLE SELECTION, TRANSITIONAL, POPUP 가운데 하나의 화면 유형을 써야 합니다.
다음 틀은 자원에 진단을 실행할 때 쓰는 화면의 보기입니다. DA는 diag_resource_screen 라이브러리 함수로 이 화면을 표시합니다.
제목 줄은 1행과 2행에 나뉩니다. 1행에는 동작(ACTION), 시험 모드(TEST MODE), 메뉴 번호가 옵니다. 동작은 다음 가운데 하나입니다.
- TESTING
- ANALYZING ERROR LOG
- ANALYZING POST RESULTS
- ANALYZING FIRMWARE STATUS
- ANALYZING SUBSYSTEM STATUS
- ANALYZING CHECKSTOP STATUS
동작이 TESTING이면 1행에 시험 모드를 표시합니다. 시험 모드는 다음과 같습니다.
- ADVANCED MODE
- LOOP MODE(루프 중에는 늘 고급 모드로 간주합니다.)
고급 모드가 아닌 진단을 실행 중이면 시험 모드 필드는 비어 있습니다.
xxxxxx로 나타낸 메뉴 번호는 1행에 옵니다. 자원 이름과 위치 코드는 2행에 옵니다.
1 2 3 4 5 6 7
01234567890123456789012345678901234567890123456789012345678901234567890123456789
--------------------------------------------------------------------------------
1 ACTION {TEST MODE} xxxxxx
2 Resource Name Location Code
3
4 +
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 BODY OF MENU
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 +
22 ___________________________________________
23 Function Key Area | Progress Indicator Area
24 Function Key Area
--------------------------------------------------------------------------------
메뉴 본문(BODY)은 화면 유형에 따라 여러 모습을 띱니다. 본문에는 지시 줄을 포함한 메뉴의 모든 텍스트가 들어가며, 제목은 들어가지 않습니다.
INFORMATIVE 화면 유형
INFORMATIVE 화면의 본문은 시험과 그 하는 일을 설명하는 정보로 이루어집니다.
다음 예에서 4~12행은 시험에 관한 정보입니다. 14행은 지시 줄이며 diag_resource_screen 함수가 자동으로 붙입니다.
1 2 3 4 5 6 7
01234567890123456789012345678901234567890123456789012345678901234567890123456789
--------------------------------------------------------------------------------
1 TESTING ADVANCED MODE 935045
2 fd0 00-00-0D-00
3
4 Diskette Change/Write Protect Test
5
6 REMOVE.........the diskette, if any, from the diskette drive (fd0).
7 INSERT.........the High Capacity (4M byte) Diagnostic Test
8 Diskette or an equivalent, formatted,
9 scratch diskette into the diskette drive (fd0).
10
11 NOTE: The diskette must be write protected (the write protect
12 tab should not cover the hole).
13
14 Use Enter to continue.
15
16
17
18
19
20
21
22
23
24 F3=Cancel F10=Exit Enter
--------------------------------------------------------------------------------
SINGLE SELECTION 화면 유형
SINGLE SELECTION 화면의 본문은 앞서 실행한 시험의 결과와, 그 결과가 맞는지 사용자에게 묻는 내용으로 이루어집니다.
사용자는 주어진 목록에서 응답(보통 YES나 NO)을 고릅니다. 다음 예에서 49행은 시험에 관한 정보이고, 1314행은 선택 줄입니다. 11행은 지시 줄이며 diag_resource_screen 함수가 자동으로 붙입니다.
1 2 3 4 5 6 7
01234567890123456789012345678901234567890123456789012345678901234567890123456789
--------------------------------------------------------------------------------
1 TESTING ADVANCED MODE 935025
2 fd0 00-00-0D-00
3
4 Diskette Select and Deselect Test
5
6 OBSERVE........the in-use light on the diskette drive (fd0).
7
8 Was the in-use light on for approximately 5 seconds and
9 then did it turn off?
10
11 Make selection, use Enter to continue.
12
13 YES
14 NO
15
16
17
18
19
20
21
22
23
24 F3=Cancel F10=Exit Enter
--------------------------------------------------------------------------------
TRANSITIONAL 화면 유형
TRANSITIONAL 화면의 본문은 보통 Please stand by.라는 지시 줄 하나입니다.
시험이 지금 데이터를 처리하고 있음을 나타냅니다. 루프가 진행 중임을 나타내는 데도 쓰며, 실행한 횟수와 만난 오류의 총수를 보여 줍니다. 사용자는 Cancel을 눌러 시험을 멈출 수 있습니다. 다음 예는 루프 메뉴입니다. 10행은 지시 줄이며 diag_resource_screen 함수가 자동으로 붙입니다. 진단 진행 표시도 봅니다.
1 2 3 4 5 6 7
01234567890123456789012345678901234567890123456789012345678901234567890123456789
--------------------------------------------------------------------------------
1 TESTING LOOP MODE 935025
2 fd0 00-00-0D-00
3
4
5
6 1 passes completed.
7 5 errors logged.
8
9
10 Please stand by.
11
12
13
14
15
16
17
18
19
20
21
22
23
24 F3=Cancel F10=Exit
--------------------------------------------------------------------------------
POPUP 화면 유형
POPUP 화면에서는 응용 프로그램 코드가 diag_popup 라이브러리 함수를 불러야 합니다.
영어 원문
Diagnostic applications
Diagnostic Applications should use one of the following screen types: INFORMATIVE, SINGLE SELECTION, TRANSITIONAL or POPUP.
The following template shows a sample screen that is used when running diagnostics on a resource. The DA would use the diag_resource_screen library function to display this screen.
The Title line is split between lines 1 and 2. The ACTION, TEST MODE, and the menu number go on the first line. ACTION is defined as one of the following:
TESTING
ANALYZING ERROR LOG
ANALYZING POST RESULTS
ANALYZING FIRMWARE STATUS
ANALYZING SUBSYSTEM STATUS
ANALYZING CHECKSTOP STATUS
If the ACTION is TESTING, the TEST MODE will be displayed on the first line. TEST MODE is defined as:
ADVANCED MODE
LOOP MODE (Advanced Mode is always assumed if Looping.)
The TEST MODE field will be blank if running non-advanced mode diagnostics.
The Menu Number represented by xxxxxx, goes on the first line. The Resource Name and Location Code go on the second line.
(28줄짜리 예는 위 한글 본문에 그대로 실었습니다.)
The BODY of the menu can assume multiple personalities depending on the screen type. It includes all text of the menu, including the INSTRUCTION line. The BODY does not include the TITLE.
INFORMATIVE screen type
For an INFORMATIVE screen, the body consists of information describing the test and what it does.
In the following example, lines 4 through 12 consist of the information about the test. Line 14 is the INSTRUCTION LINE, and is added automatically by the diag_resource_screen function.
(28줄짜리 예는 위 한글 본문에 그대로 실었습니다.)
SINGLE SELECTION screen type
For a SINGLE SELECTION screen, the body consists of results from a previous test that had run, and asking the user if the results are accurate.
The User selects a response, normally YES or NO, from a given list. In the following example, lines 4 through 9 consist of the information about the test. Lines 13 and 14 consist of the SELECTION lines. Line 11 is the INSTRUCTION LINE, and is added automatically by the diag_resource_screen function.
(28줄짜리 예는 위 한글 본문에 그대로 실었습니다.)
TRANSITIONAL screen type
For a TRANSITIONAL screen, the body usually consists of a single INSTRUCTION line of Please stand by.
This indicates that the test is currently processing some data. It is also used to indicate that looping is in progress, and shows the number of passes made plus the total number of errors encountered. User may press Cancel to stop the test. The following example shows a looping menu. Line 10 is the INSTRUCTION LINE, and is added automatically by the diag_resource_screen function. See also Diagnostic Progress Indicators.
(28줄짜리 예는 위 한글 본문에 그대로 실었습니다.)
POPUP screen type
For a POPUP screen, the application code should use the diag_popup library function call.
진단 작업의 화면
진단 작업은 지원하는 여섯 가지 화면 유형을 모두 쓸 수 있습니다.
- INFORMATIVE
- SINGLE SELECTION
- MULTIPLE SELECTION
- DIALOG SELECTION
- TRANSITIONAL
- POPUP
다음 틀은 작업을 실행할 때 쓰는 화면의 보기입니다. 작업은 diag_task_screen 라이브러리 함수로 이 화면을 표시합니다.
제목 줄은 1행과 2행에 나뉩니다. 거의 모든 작업 제목은 1행에 들어가야 하지만, 뜻을 분명히 하거나 번역 때문에 2행을 쓸 수 있습니다. 제목 텍스트는 모두 대문자여야 합니다.
1 2 3 4 5 6 7
01234567890123456789012345678901234567890123456789012345678901234567890123456789
--------------------------------------------------------------------------------
1 TASK TITLE LINE 1 8xxxxx
2 TASK TITLE LINE 2
3
4 +
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 BODY OF MENU
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 +
22
23 Function Key Area
24 Function Key Area
--------------------------------------------------------------------------------
메뉴 본문은 화면 유형에 따라 여러 모습을 띱니다. 본문에는 지시 줄을 포함한 메뉴의 모든 텍스트가 들어가며, 제목은 들어가지 않습니다.
INFORMATIVE 화면 유형
INFORMATIVE 화면의 본문은 작업과 그 하는 일을 설명하는 정보로 이루어집니다.
다음 예에서 3~15행은 작업에 관한 정보입니다. 17행은 지시 줄이고, 24행은 이 화면 유형에서 쓸 수 있는 기능 키입니다. 두 줄 모두 diag_task_screen 함수가 자동으로 붙입니다.
참고: 제목이 한 줄뿐이면 본문 텍스트가 한 줄 위로 올라갑니다.
1 2 3 4 5 6 7
01234567890123456789012345678901234567890123456789012345678901234567890123456789
--------------------------------------------------------------------------------
1 PERIODIC DIAGNOSTICS SERVICE AID 802150
2
3 This service aid is used to periodically test hardware resources and
4 monitor hardware errors in the error log.
5
6 A hardware resource can be chosen to be tested once a day, at a user
7 specified time of day. If the resource cannot be tested because it is
8 busy, error log analysis will be performed.
9 Hardware errors logged against a resource can also be monitored by enabling
10 Automatic Error Log Analysis. This will allow error log analysis to be
11 performed every time a hardware error is put into the error log.
12
13 If a problem is detected, a message will be posted to the system console
14 and a mail message sent to user(s) belonging to system group with information
15 about the failure such as Service Request Number.
16
17 Use Enter to continue.
18
19
20
21
22
23
24 [F1=Help] F3=Cancel F10=Exit Enter
--------------------------------------------------------------------------------
SINGLE SELECTION 화면 유형
SINGLE SELECTION 화면의 본문은 고를 수 있는 항목 하나하나와, 있으면 짧은 설명으로 이루어집니다.
다음 예에서 5~21행은 고를 수 있는 항목이며, 메뉴 항목 여섯 개를 보여 줍니다. 고를 수 있는 항목 설명의 들여쓰기는 메시지를 만들 때 넣어야 합니다. 3행은 지시 줄이며 diag_task_screen 함수가 자동으로 붙입니다.
선택에 관한 정보를 화면에 더할 수 있으며, 제목 줄[1]과 지시 줄[3] 사이에 나타납니다.
1 2 3 4 5 6 7
01234567890123456789012345678901234567890123456789012345678901234567890123456789
--------------------------------------------------------------------------------
1 PERIODIC DIAGNOSTICS SERVICE AID 802151
2
3 Make selection, use Enter to continue.
4
5 Add a resource to the periodic test list
6 This selection allows a resource to be periodically tested.
7 Delete a resource from the periodic test list
8 This selection removes a resource from the list of periodically
9 tested resources.
10 Modify the time to test a resource
11 This selection allows the time of day to test a resource to be
12 changed.
13 Display the periodic test list
14 This selection displays all resources being tested periodically
15 by diagnostics.
16 Modify the error notification mailing list
17 This selection allows the mailing list for error notification
18 to be modified.
19 Disable Automatic Error Log Analysis
20 Automatic Error Log Analysis is currently enabled.
21 This selection stops the Automatic Error Log Analysis.
22
23
24 F1=Help F10=Exit F3=Previous Menu
--------------------------------------------------------------------------------
23 F1=Help F4=List F10=Exit Enter
24 F3=Previous Menu
--------------------------------------------------------------------------------
MULTIPLE SELECTION 화면 유형
MULTIPLE SELECTION 화면의 본문은 고를 수 있는 항목 하나하나와, 있으면 짧은 설명으로 이루어집니다.
다음 예에서 10~12행은 고를 수 있는 항목입니다. 8행은 지시 줄이며 diag_task_screen 함수가 자동으로 붙입니다.
선택에 관한 정보를 화면에 더할 수 있으며, 제목 줄[1]과 지시 줄[8] 사이에 나타납니다.
다음 예에서 커서가 10, 11, 12행에 있을 때는 언제든 도움말(HELP) 텍스트를 표시할 수 있습니다. 고를 수 있는 줄마다 도움말 텍스트를 연결할 수 있습니다.
1 2 3 4 5 6 7
01234567890123456789012345678901234567890123456789012345678901234567890123456789
--------------------------------------------------------------------------------
1 DELETE RESOURCES FROM THE PERIODIC DIAGNOSTICS TEST LIST 802155
2
3 The following resources are currently being tested periodically.
4 Test time is shown inside the brackets in 24 hour format.
5 Once deleted, a resource cannot be tested until it is added back to the
6 test list.
7
8 Make selection(s), use Commit to continue.
9
10 ioplanar0 [04:00] I/O Planar
11 hdisk0 [03:00] 1.0 GB SCSI Disk Drive
12 hdisk1 [03:00] 2.0 GB SCSI Disk Drive
13
14
15
16
17
18
19
20
21
22
23 F1=Help F2=Refresh F3=Cancel F4=List
24 F5=Reset F7=Commit F10=Exit
--------------------------------------------------------------------------------
DIALOG SELECTION 화면 유형
DIALOG SELECTION 화면의 본문은 오른쪽에 괄호 영역이 있는 항목 하나하나로 이루어집니다.
이 괄호 영역에서 항목마다 데이터 선택을 설정할 수 있습니다. 다음 예에서 10~11행이 항목입니다. 7행은 지시 줄이며 diag_task_screen 함수가 자동으로 붙입니다.
다음 예에서 커서가 10행이나 11행에 있을 때는 언제든 도움말 텍스트를 표시할 수 있습니다. 대화 줄마다 도움말 텍스트를 연결할 수 있습니다.
1 2 3 4 5 6 7
01234567890123456789012345678901234567890123456789012345678901234567890123456789
--------------------------------------------------------------------------------
1 PERIODIC DIAGNOSTICS SERVICE AID 802157
2
3 ent0 00-00-0E Integrated Ethernet Adapter
4
5 Set the time when the resource should be tested.
6
7 Enter selection(s), use Commit to continue.
8
9
10 * HOUR (00-23) ................................. [00] +#
11 * MINUTES (00-59) .............................. [00] +#
12
13
14
15
16
17
18
19
20
21
22
23 F1=Help F2=Refresh F3=Cancel F4=List
24 F5=Reset F7=Commit F10=Exit
--------------------------------------------------------------------------------
TRANSITIONAL 화면 유형
TRANSITIONAL 화면의 본문은 Please stand by라는 지시 줄 하나입니다.
작업이 지금 데이터를 처리하고 있음을 나타냅니다. 사용자는 Cancel을 눌러 작업을 멈출 수 있습니다. 다음 예는 작업 진행 중 메뉴입니다. 6행은 지시 줄이며 diag_task_screen 함수가 자동으로 붙입니다. 진단 진행 표시도 봅니다.
1 2 3 4 5 6 7
01234567890123456789012345678901234567890123456789012345678901234567890123456789
--------------------------------------------------------------------------------
1 HARDWARE ERROR REPORT 802905
2
3
4 Reading current error log.
5
6 Please stand by.
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 F3=Cancel F10=Exit
--------------------------------------------------------------------------------
POP-UP 화면 유형
POP-UP 화면의 본문은 보통 도움말 텍스트입니다. 현재 화면이나 메뉴 선택을 사용자가 이해하도록 돕는 데 씁니다.
다음 예에서 팝업은 화면 아래쪽 가까이에 창 상자로 나타납니다. 지시 줄은 쓰지 않습니다. 이 화면은 diag_popup 함수가 더합니다.
F1=Help 키를 골랐는데 현재 선택에 연결된 도움말 텍스트가 없으면 이 키를 호출 응용 프로그램에 돌려줍니다.
1 2 3 4 5 6 7
01234567890123456789012345678901234567890123456789012345678901234567890123456789
--------------------------------------------------------------------------------
1 FUNCTION SELECTION 801002
2
3
4 Move cursor to selection, then press Enter.
5
6 Diagnostic Routines
7 This selection will test the machine hardware. Wrap plugs and
8 other advanced functions will not be used.
9 Advanced Dl ______________________________________________________
10 This sel|
11 other ad|
12 Task Selec| Select this choice when you want to run |c.)
13 This sel| Diagnostics on a resource (device). |.
14 Once a t| |g
15 all reso|
16 Resource S|
17 This sel| |pported
18 by these| |ll
19 be prese| |).
20
21
22
23 | F3=Cancel F10=Exit Enter
24 F1=Help |______________________________________________________|
--------------------------------------------------------------------------------
진단 진행 표시
진단 진행 표시(Progress Indicator)는 무슨 일이 일어나고 있는지 사용자에게 알립니다.
진행 표시는 진단 응용 프로그램의 TRANSITIONAL 화면이나 진단 작업의 TRANSITIONAL 화면을 표시하는 동안 화면 아래쪽에 팝업 상자로 나타납니다.
진행 표시는 실행 시간 옵션(Run Time Options) 작업으로 끌 수 있습니다. 이 선택은 진단 환경 변수 DIAG_NO_PROGRESS를 알맞게 설정합니다.
1 2 3 4 5 6 7
01234567890123456789012345678901234567890123456789012345678901234567890123456789
--------------------------------------------------------------------------------
1 DISPLAY/CHANGE DIAGNOSTIC RUN TIME OPTIONS 801009
2
3 Select values for the options below.
4 When finished, use ’Commit’ to continue.
5 Display Diagnostic Mode Selection Menus [On] +
6 Include Advanced Diagnostics [Off] +
7 Include Error Log Analysis [Off] +
8 Display Progress Indicators [On] +
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 F1=Help F2=Refresh F3=Cancel F4=List
24 F5=Reset F7=Commit F10=Exit
--------------------------------------------------------------------------------
다음 예는 실행 중인 테스트 단위의 유형을 진행 표시로 보여 주는 진단 응용 프로그램 화면입니다.
1 2 3 4 5 6 7
01234567890123456789012345678901234567890123456789012345678901234567890123456789
--------------------------------------------------------------------------------
1 TESTING LOOP MODE 935025
2 fd0 00-00-0D-00
3
4
5
6 1 passes completed.
7 5 errors logged.
8
9
10 Please stand by.
11
12
13
14
15
16
17
18
19
22 --------------------------------------------------
23 | Register Test
24 F3=Cancel --------------------------------------------------
--------------------------------------------------------------------------------
진행 표시 메시지는 짧게, 한 줄로, 30자 미만으로 써야 합니다. 기능 키 F10=Exit이 진행 표시에 덮인다는 점에 주의합니다.
이 진행 표시에는 diag_progress 라이브러리 함수를 씁니다.
영어 원문
Diagnostic tasks
Diagnostic Tasks are free to use any of the six supported screen types:
INFORMATIVE
SINGLE SELECTION
MULTIPLE SELECTION
DIALOG SELECTION
TRANSITIONAL
POPUP
The following template shows a sample screen that is used when running a task. The Task would use the diag_task_screen library function to display this screen.
The Title line is split between lines 1 and 2. Most all Task titles should fit on the first line, but the second line may be used for clarity or for translation reasons. The TITLE text should be all capitalized.
(28줄짜리 예는 위 한글 본문에 그대로 실었습니다.)
The BODY of the menu can assume multiple personalities depending on the screen type. It includes all text of the menu, including the INSTRUCTION line. The BODY does not include the TITLE.
INFORMATIVE screen type
For an INFORMATIVE screen, the body consists of information describing the task and what it does.
In the following example, lines 3 through 15 consist of the information about the task. Line 17 is the INSTRUCTION LINE, and Line 24 consists of the function keys available for this screen type. Both lines are added automatically by the diag_task_screen function.
Note: If the TITLE line consists of only one line, the text of the BODY will be adjusted up one line.
(28줄짜리 예는 위 한글 본문에 그대로 실었습니다.)
SINGLE SELECTION screen type
For a SINGLE SELECTION screen, the body consists of individual selectable items and possibly a short description.
In the following example, lines 5 through 21 consist of the selectable items. This example illustrates six (6) selectable menu items. The indentions for the selectable item descriptions must be added when the message is built. Line 3 is the INSTRUCTION LINE, and is added automatically by the diag_task_screen function.
Any information about the selections may be added to the screen, and would appear after the TITLE line[1] and before the INSTRUCTION line[3].
(31줄짜리 예는 위 한글 본문에 그대로 실었습니다.)
MULTIPLE SELECTION screen type
For a MULTIPLE SELECTION screen, the body consists of individual selectable items and possibly a short description.
In the following example, lines 10 through 12 consist of the selectable items. Line 8 is the INSTRUCTION LINE, and is added automatically by the diag_task_screen function.
Any information about the selections may be added to the screen, and would appear after the TITLE line[1] and before the INSTRUCTION line[8].
HELP text may be displayed any time the cursor is on line 10, 11, or 12 in the following example. Each selectable line may have associated HELP text.
(28줄짜리 예는 위 한글 본문에 그대로 실었습니다.)
DIALOG SELECTION screen type
For a DIALOG SELECTION screen, the body consists of individual items with a bracketed area to the right.
This bracketed area allows data selections to be set for each individual item. In the following example, lines 10 and 11 consist of the items. Line 7 is the INSTRUCTION LINE, and is added automatically by the diag_task_screen function.
HELP text may be displayed any time the cursor is on line 10 or 11 in the following example. Each dialog line may have associated HELP text.
(28줄짜리 예는 위 한글 본문에 그대로 실었습니다.)
TRANSITIONAL screen type
For a TRANSITIONAL screen, the body consists of a single INSTRUCTION line of Please stand by.
This indicates that the task is currently processing some data. Users may press Cancel to stop the task. The following example shows a task in progress menu. Line 6 consists of the INSTRUCTION LINE, and is automatically added by the diag_task_screen function. See also Diagnostic Progress Indicators.
(28줄짜리 예는 위 한글 본문에 그대로 실었습니다.)
POP-UP screen type
For a POP-UP screen, the body consists normally of help text. It is used to help the user understand the current screen, or menu selection.
In the following example, the pop-up appears in a windowed box near the bottom of the screen. No INSTRUCTION line is used. This screen is added by the diag_pop-up function.
If the F1=Help key is selected, but there is no associated Help text associated with the current selection, then this key is returned to the calling application.
(28줄짜리 예는 위 한글 본문에 그대로 실었습니다.)
Diagnostic progress indicators
Diagnostic Progress Indicators are used to inform the user what is going on.
The Progress Indicators appear as a popup box at the bottom of the screen during a Diagnostic Application TRANSITIONAL screen or a Diagnostic Task TRANSITIONAL screen display.
The Progress Indicators may be turned off by using the Run Time Options Task. This selection sets the diagnostic environment variable DIAG_NO_PROGRESS appropriately.
(28줄짜리 예는 위 한글 본문에 그대로 실었습니다.)
The following example shows a Diagnostic Application screen that is displaying a Progress indicator with the type of test unit being run.
(26줄짜리 예는 위 한글 본문에 그대로 실었습니다.)
These Progress Indicator messages must be kept short, one line, and under 30 characters. Note that the function key F10=Exit is overwritten by the Progress Indicator.
The diag_progress library function call is used for this Progress Indicator.
진단 메뉴 예
이 주제는 진단 메뉴 옵션의 여러 예를 보여 줍니다.
영어 원문
Examples: Diagnostic menus
This topic describes the various examples of Diagnostic menu options.
진단 운영 안내 메뉴
진단 운영 안내(Diagnostic Operating Instructions) 메뉴의 예입니다.
DIAGNOSTIC OPERATING INSTRUCTIONS VERSION X.X.X 801001
LICENSED MATERIAL and LICENSED INTERNAL CODE - PROPERTY OF IBM
(C) COPYRIGHTS BY IBM AND BY OTHERS YYYY, YYYY.
ALL RIGHTS RESERVED.
These programs contain diagnostics, service aids, and tasks for
the system. These procedures should be used whenever problems
with the system occur which have not been corrected by any
software application procedures available.
In general, the procedures will run automatically. However,
sometimes you will be required to select options, inform the
system when to continue, and do simple tasks.
Several keys are used to control the procedures:
- The Enter key continues the procedure or performs an action.
- The Backspace key allows keying errors to be corrected.
- The cursor keys are used to select an option.
Press the F3 key to exit or press Enter to continue.
참고: 버전 번호는 설치한 진단의 버전이나 사용한 독립형 진단의 버전에 따라 다를 수 있습니다.
영어 원문
Diagnostic operating instructions menu
Use the topic to view an example for the Diagnostic Operating Instructions Menu.
(16줄짜리 예는 위 한글 본문에 그대로 실었습니다.)
Note: The version number may vary depending on the version of diagnostics installed or the version the standalone diagnostics used.
기능 선택 메뉴
기능 선택(Function Selection) 메뉴의 예입니다.
FUNCTION SELECTION 801002
Move cursor to selection, then press Enter.
Diagnostic Routines
This selection will test the machine hardware. Wrap plugs and
other advanced functions will not be used.
Advanced Diagnostics Routines
This selection will test the machine hardware. Wrap plugs and
other advanced functions will be used.
Task Selection(Diagnostics, Advanced Diagnostics, Service Aids, etc.)
This selection will list the tasks supported by these procedures.
Once a task is selected, a resource menu may be presented showing
all resources supported by the task.
Resource Selection
This selection will list the resources in the system that are supported
by these procedures. Once a resource is selected, a task menu will
be presented showing all tasks that can be run on the resource(s).
F1=Help F10=Exit F3=Previous Menu
영어 원문
Function selection menu
Use the topic to view an example for the Function Selection Menu.
(16줄짜리 예는 위 한글 본문에 그대로 실었습니다.)
F1=Help F10=Exit F3=Previous Menu
터미널 정의 메뉴
터미널 정의(Define Terminal) 메뉴의 예입니다.
DEFINE TERMINAL
The terminal is not properly initialized.
The following are some of the terminal types that are supported.
ibm3101 tvi912 vt330
ibm3151 tvi925 vt340
ibm3161 tvi920 wyse30
ibm3162 tvi950 wyse50
ibm3163 vs100 wyse60
ibm3164 vt100 wyse100
ibmpc vt320 wyse350
lft sun
NOTE: If you are using a Graphics Display, such as a
5081 or 6091 display, enter ’lft’ as the
terminal type.
If the next screen is unreadable, press <CTRL> C.
Please enter a terminal type, or press Enter to return.
영어 원문
Define terminal menu
Use the topic to view an example for the Define Terminal Menu.
(16줄짜리 예는 위 한글 본문에 그대로 실었습니다.)
빠진 자원 선택 메뉴
빠진 자원 선택(Missing Resource Selection) 메뉴의 예입니다.
MISSING RESOURCE 801020
The list below shows all the missing resources. Make a selection,
then press Enter to process missing options resolutions.
To list all siblings of a resource, use ’List’.
fda0 00-00-0D Standard I/O Diskette Adapter
fd0
F1=Help F4=List F10=Exit Enter
F3=Previous Menu
영어 원문
Missing Resource Selection Menu
MISSING RESOURCE 801020
The list below shows all the missing resources. Make a selection,
then press Enter to process missing options resolutions.
To list all siblings of a resource, use ’List’.
fda0 00-00-0D Standard I/O Diskette Adapter
fd0
F1=Help F4=List F10=Exit Enter
F3=Previous Menu
빠진 자원 메뉴
빠진 자원(Missing Resource) 메뉴의 예입니다.
MISSING RESOURCE 801020
The following resource was detected previously, but is not detected now:
- fda0 00-00-0D Standard I/O Diskette Adapter
Has the resource been removed from the system, moved to another location
or address, or turned off?
The resource has NOT been removed from the system, moved to
another location or address, or turned off.
This selection will determine why the resource was not detected.
The resource has been removed from the system and should be
removed from the system configuration.
The resource has been moved to another location and should be
removed from the system configuration.
The resource has been turned off and should be removed from
the system configuration.
The resource has been turned off but should remain in the
system configuration.
F3=Cancel F10=Exit
영어 원문
Missing Resource Menu
(16줄짜리 예는 위 한글 본문에 그대로 실었습니다.)
F3=Cancel F10=Exit
새 자원 메뉴
새 자원(New Resource) 메뉴의 예입니다.
NEW RESOURCE 801030
The following new resource(s) were detected.
Some resources may require software installation or supplemental media
processing to appear on the list.
Select an option from the bottom of the list, then press Enter.
- rmt0 00-04-00-4,0 4.0 GB 4mm Tape Drive
1. Continue. The list contains all resources that should appear.
2. A resource that should appear on the list is missing.
F3=Cancel F10=Exit
영어 원문
New Resource Menu
NEW RESOURCE 801030
The following new resource(s) were detected.
Some resources may require software installation or supplemental media
processing to appear on the list.
Select an option from the bottom of the list, then press Enter.
- rmt0 00-04-00-4,0 4.0 GB 4mm Tape Drive
1. Continue. The list contains all resources that should appear.
2. A resource that should appear on the list is missing.
F3=Cancel F10=Exit
진단 모드 선택 메뉴
진단 모드 선택(Diagnostic Mode Selection) 메뉴의 예입니다.
DIAGNOSTIC MODE SELECTION 801003
Move cursor to selection, then press Enter.
System Verification
This selection will test the system, but will not analyze the error
log. Use this option to verify that the machine is functioning
correctly after completing a repair or an upgrade.
Problem Determination
This selection tests the system and analyzes the error log
if one is available. Use this option when a problem is
suspected on the machine.
F1=Help F10=Exit F3=Previous Menu
영어 원문
Diagnostic mode selection menu
Use the topic to view an example for the Diagnostic Mode Selection Menu.
DIAGNOSTIC MODE SELECTION 801003
Move cursor to selection, then press Enter.
System Verification
This selection will test the system, but will not analyze the error
log. Use this option to verify that the machine is functioning
correctly after completing a repair or an upgrade.
Problem Determination
This selection tests the system and analyzes the error log
if one is available. Use this option when a problem is
suspected on the machine.
F1=Help F10=Exit F3=Previous Menu
자원 선택 메뉴
자원 선택(Resource Selection) 메뉴의 예입니다.
RESOURCE SELECTION LIST 801006
From the list below, select any number of resources by moving
the cursor to the resource and pressing ’Enter’.
To cancel the selection, press ’Enter’ again.
To list the supported tasks for the resource highlighted, press ’List’.
Once all selections have been made, press ’Commit’.
To exit without selecting a resource, press the ’Exit’ key.
[TOP]
All Resources
This selection will select all the resources currently displayed.
sysplanar0 00-00 CPU Planar
proc0 00-00 Processor
*slc0 00-00 Serial Optical Link Chip
otp0 00-AB Serial Optical Channel Converter
+op0 00-AB-1B Serial Optical Link Port
op1 00-AB-2B Serial Optical Link Port
[MORE...30]
F1=Help F4=List F7=Commit F10=Exit
F3=Previous Menu
- op0 옆의
+는 op0을 골랐다는 뜻입니다. - slc0 옆의
*는 slc0을 골라 실행했다는 뜻입니다. - 자원은 부모 다음에 자식이 오는 순서로 나열됩니다.
- 자원마다 장치 논리 이름, 장치 논리 위치 코드, 장치 설명 텍스트를 보여 줍니다.
영어 원문
Resource selection menu
Use the topic to view an example for the Resource Selection Menu.
(19줄짜리 예는 위 한글 본문에 그대로 실었습니다.)
- The + by op0 indicates that it has been selected. • The
*by slc0 indicates that it has been selected and run. • Each resource is listed with the parent followed by the children. • Each resource provides the following information: – Device logical name – Device logical location code – Device descriptive text
자원 선택 메뉴 - 공통 작업 표시
자원 선택 메뉴에서 공통 작업을 표시하는 동작의 예입니다.
RESOURCE SELECTION LIST 801006
From the list below, select any number of resources by moving
the cursor to the resource and pressing ’Enter’.
To cancel the selection, press ’Enter’ again.
To list the supported tasks for the resource highlighted, press ’List’.
Once all selections have been made, press ’Commit’.
To exit with--------------------------------------------------------
[MORE...12] | [TOP]
sio0 | The following tasks are supported by the resource:
siokta0
+ kbd0 | (A ’*’ in front of a task indicates
sioma0 | that it has been selected:
+ mouse0 Run Diagnostics
ppa0 Display or Change Diagnostic Run Time Options |er
lp0 Display Configuration and Resource List
sa0 Display Hardware Vital Product Data
[MORE...16] | [MORE...5]
F1=Help | F3=Cancel F10=Exit Enter
F3=Previous --------------------------------------------------------
F4=List 키를 쓰면 고른 자원들이 함께 지원하는 작업을 표시합니다.
영어 원문
Resource selection menu - display common tasks operation
Use the topic to view an example for the Resource Selection Menu - Display Common Tasks operation.
(19줄짜리 예는 위 한글 본문에 그대로 실었습니다.)
Use the F4=List key to display the common tasks supported by the selected resources.
시험 방법 메뉴
시험 방법(Test Method) 메뉴의 예입니다.
TEST METHOD SELECTION 801004
Move cursor to selection, then press Enter.
Run Test Once
Run Test Multiple Times
This selection should be used when a problem occurs intermittently.
This selection will continue testing until ’Cancel’ is pressed.
NOTE: After ’Cancel’ is pressed, it may take some time before
the testing stops. The tests goes through a final phase
to return the resources to their original state.
F3=Cancel F10=Exit
영어 원문
Test method menu
Use the topic to view an example for the Test Method Menu.
TEST METHOD SELECTION 801004
Move cursor to selection, then press Enter.
Run Test Once
Run Test Multiple Times
This selection should be used when a problem occurs intermittently.
This selection will continue testing until ’Cancel’ is pressed.
NOTE: After ’Cancel’ is pressed, it may take some time before
the testing stops. The tests goes through a final phase
to return the resources to their original state.
F3=Cancel F10=Exit
문제 없음 메뉴
문제 없음(No Trouble Found) 메뉴의 예입니다.
TESTING COMPLETE on Wed Jan 7 14:01:22 CST 1998 801010
No trouble was found.
The resources tested were:
- proc0 00-00 Processor
Use Enter to continue.
F3=Cancel F10=Exit Enter
영어 원문
No Trouble Found Menu
TESTING COMPLETE on Wed Jan 7 14:01:22 CST 1998 801010
No trouble was found.
The resources tested were:
- proc0 00-00 Processor
Use Enter to continue.
F3=Cancel F10=Exit Enter
문제 보고 메뉴
문제 보고(Problem Report) 메뉴의 예입니다.
A PROBLEM WAS DETECTED ON Wed Jan 7 13:45:57 CST 1998 801014
The Service Request Number(s)/Probable Cause or Cause(s):
816-185: I/O Planar - key lock failed.
65% OP Panel Operator panel
30% Keylock Operator panel key lock
5% ioplanar0 00-00 I/O Planar
Use Enter to continue.
F3=Cancel F10=Exit Enter
영어 원문
Problem report menu
Use the topic to view an example for the Problem Report Menu.
A PROBLEM WAS DETECTED ON Wed Jan 7 13:45:57 CST 1998 801014
The Service Request Number(s)/Probable Cause or Cause(s):
816-185: I/O Planar - key lock failed.
65% OP Panel Operator panel
30% Keylock Operator panel key lock
5% ioplanar0 00-00 I/O Planar
Use Enter to continue.
F3=Cancel F10=Exit Enter
추가 자원 메뉴
추가 자원(Additional Resources) 메뉴의 예입니다.
ADDITIONAL RESOURCES ARE REQUIRED FOR TESTING 801011
No trouble was found. However, the resource was not tested because
the device driver indicated that the resource was in use.
The resource needed is
- hdisk0 00-04-00-1,0 670 MB SCSI Disk Drive
To test this resource, you can:
Free this resource and continue testing.
Shut down the system and run in maintenance mode.
Run Diagnostics from the Diagnostic Standalone package.
Move cursor to selection, then press Enter.
Testing should stop.
The resource is now free and testing can continue.
F3=Cancel F10=Exit
영어 원문
Additional resources menu
Use the topic to view an example for the Additional Resources Menu.
ADDITIONAL RESOURCES ARE REQUIRED FOR TESTING 801011
No trouble was found. However, the resource was not tested because
the device driver indicated that the resource was in use.
The resource needed is
- hdisk0 00-04-00-1,0 670 MB SCSI Disk Drive
To test this resource, you can:
Free this resource and continue testing.
Shut down the system and run in maintenance mode.
Run Diagnostics from the Diagnostic Standalone package.
Move cursor to selection, then press Enter.
Testing should stop.
The resource is now free and testing can continue.
F3=Cancel F10=Exit
작업 선택 목록 메뉴
작업 선택 목록(Task Selection List) 메뉴의 예입니다.
TASKS SELECTION LIST 801004
From the list below, select a task by moving the cursor to
the task and pressing ’Enter’.
To list the resources for the task highlighted, press ’List’.
[TOP]
Run Diagnostics
Display or Change Diagnostic Run Time Options
Display Service Hints
Display Previous Diagnostic Results
Display Hardware Error Report
Display Software Product Data
Display Configuration and Resource List
Display Hardware Vital Product Data
Display Resource Attributes
Change Hardware Vital Product Data
Format Media
Certify Media
[MORE...21]
F1=Help F4=List F10=Exit Enter
F3=Previous Menu
영어 원문
Task selection list menu
Use the topic to view an example for the Task Selection List Menu.
(20줄짜리 예는 위 한글 본문에 그대로 실었습니다.)
작업 선택 목록 메뉴 - 지원 자원 표시
작업 선택 목록 메뉴에서 지원 자원을 표시하는 동작의 예입니다.
TASKS SELECTION LIST 801004
From the list below, select a task by moving the cursor to
the task and pressing ’Enter’.
To list the resources for the task highlighted, press ’List’.
[TOP]
Run Diagno--------------------------------------------------------
Display or|
Display Se|
Display Pr| [TOP]
Display Ha| The following resources support the current task:
Display So| (A ’*’ in front of a resource indicates that it
Display Co| has been selected)
Display Ha| sysplanar0
Display Re| proc0
Change Har| slc0
Format Med| otp0
Certify Me| op0
[MORE...21] | [MORE...31]
F1=Help | F3=Cancel F10=Exit Enter
F3=Previous --------------------------------------------------------
F4=List 키를 쓰면 고른 작업을 지원하는 모든 자원을 표시합니다.
영어 원문
Task selection list menu - display supported resources operation
Use the topic to view an example for the Task Selection List Menu - Display Supported Resources operation.
(20줄짜리 예는 위 한글 본문에 그대로 실었습니다.)
Use the F4=List key to display all the resources supported by the selected Task.
실행 시간 옵션 메뉴
실행 시간 옵션(Run Time Options) 메뉴의 예입니다.
DISPLAY/CHANGE DIAGNOSTIC RUN TIME OPTIONS 801009
Select values for the options below.
When finished, use ’Commit’ to continue.
Display Diagnostic Mode Selection Menus [On] +
Include Advanced Diagnostics [Off] +
Include Error Log Analysis [Off] +
Number of days used to search error log [7] +
Save changes to the database? [NO] +
F1=Help F2=Refresh F3=Cancel F4=List
F5=Reset F7=Commit F10=Exit
영어 원문
Run time options menu
Use the topic to view an example for the Run Time Options Menu.
DISPLAY/CHANGE DIAGNOSTIC RUN TIME OPTIONS 801009
Select values for the options below.
When finished, use ’Commit’ to continue.
Display Diagnostic Mode Selection Menus [On] +
Include Advanced Diagnostics [Off] +
Include Error Log Analysis [Off] +
Number of days used to search error log [7] +
Save changes to the database? [NO] +
F1=Help F2=Refresh F3=Cancel F4=List
F5=Reset F7=Commit F10=Exit
관련 글: 진단 라이브러리 (3), 진단 작업 (1), 진단 기능과 패키징