restore: YAML schema files KIN06CLD, KIN08DBU, KIN09CSV
This commit is contained in:
@@ -23,6 +23,22 @@ db_tables:
|
|||||||
- name: STATUS
|
- name: STATUS
|
||||||
type: CHAR(1)
|
type: CHAR(1)
|
||||||
|
|
||||||
|
command_line: YEARMONTH=202607
|
||||||
|
|
||||||
|
runs:
|
||||||
|
- id: normal
|
||||||
|
- id: no_parm
|
||||||
|
command_line: ""
|
||||||
|
- id: feb
|
||||||
|
command_line: YEARMONTH=202602
|
||||||
|
- id: feb_leap
|
||||||
|
command_line: YEARMONTH=202402
|
||||||
|
- id: invalid_month
|
||||||
|
command_line: YEARMONTH=202613
|
||||||
|
- id: empty_emp
|
||||||
|
command_line: YEARMONTH=202607
|
||||||
|
delete_all_rows: true
|
||||||
|
|
||||||
subprograms:
|
subprograms:
|
||||||
- SUB02MSG
|
- SUB02MSG
|
||||||
- SUB03END
|
- SUB03END
|
||||||
|
|||||||
@@ -77,3 +77,22 @@ runs:
|
|||||||
include_invalid_period: true
|
include_invalid_period: true
|
||||||
modes: ["NORMAL", "RESET"]
|
modes: ["NORMAL", "RESET"]
|
||||||
inject_duplicate_pk: true
|
inject_duplicate_pk: true
|
||||||
|
|
||||||
|
- id: sql_delete_error
|
||||||
|
# RESET 時 DELETE MONTHLY_ABSENCE の SQL エラー(テーブル削除)→ 9100DBERRSOR
|
||||||
|
sysin:
|
||||||
|
period: "202607"
|
||||||
|
include_invalid_period: true
|
||||||
|
modes: ["RESET"]
|
||||||
|
inject_duplicate_pk: false
|
||||||
|
drop_tables: [MONTHLY_ABSENCE]
|
||||||
|
|
||||||
|
- id: sql_select_error
|
||||||
|
# UPSERT 前 SELECT COUNT 的 SQL エラー(テーブル削除)→ SELECT COUNT failed 分岐
|
||||||
|
sysin:
|
||||||
|
period: "202607"
|
||||||
|
include_invalid_period: true
|
||||||
|
modes: ["NORMAL"]
|
||||||
|
final_mode: "NORMAL"
|
||||||
|
inject_duplicate_pk: false
|
||||||
|
drop_tables: [MONTHLY_ABSENCE]
|
||||||
|
|||||||
@@ -49,6 +49,30 @@ db_tables:
|
|||||||
- name: UPDATED_AT
|
- name: UPDATED_AT
|
||||||
type: TIMESTAMP
|
type: TIMESTAMP
|
||||||
|
|
||||||
|
runs:
|
||||||
|
- id: FULL
|
||||||
|
command_line: "YEARMONTH=202607,MODE=FULL"
|
||||||
|
seed_extra_rows:
|
||||||
|
DAILY_RECORDS: 100
|
||||||
|
- id: SHORT
|
||||||
|
command_line: "YEARMONTH=202607,MODE=SHORT"
|
||||||
|
|
||||||
|
# Fix A: PARM 组合 + 空结果集场景
|
||||||
|
- id: missing_mode
|
||||||
|
# WS-COMMA-CNT < 1 → 'WARNING: Missing MODE'(MODE 默认 FULL)
|
||||||
|
command_line: "YEARMONTH=202607"
|
||||||
|
- id: reordered_parm
|
||||||
|
# KEY1=MODE(VALUE1→WS-MODE)+ KEY2=YEARMONTH(VALUE2→WS-YEARMONTH)
|
||||||
|
command_line: "MODE=FULL,YEARMONTH=202607"
|
||||||
|
- id: missing_ym
|
||||||
|
# YEARMONTH 未指定 → SPACE → ABEND(SUB03END)
|
||||||
|
command_line: "MODE=FULL"
|
||||||
|
- id: empty_daily
|
||||||
|
# 首 FETCH EOF:删除 DAILY_RECORDS 表 → 光标 OPEN/FETCH 失败 → SQLCODE≠0 → WS-DAILY-EOF
|
||||||
|
# (delete_all_rows 空表时 gixsql 首次 FETCH 返回 SQLCODE=0,无法触发 EOF)
|
||||||
|
command_line: "YEARMONTH=202607,MODE=FULL"
|
||||||
|
drop_tables: [DAILY_RECORDS]
|
||||||
|
|
||||||
subprograms:
|
subprograms:
|
||||||
- SUB02MSG
|
- SUB02MSG
|
||||||
- SUB03END
|
- SUB03END
|
||||||
|
|||||||
Reference in New Issue
Block a user