<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root
	xmlns:jsp="http://java.sun.com/JSP/Page"
	xmlns:og="hybs-taglib.tld"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	version="2.0">
<jsp:directive.page language="java" contentType="text/html; charset=UTF-8" />

<og:head headType="init" />
<og:comment
	system   = "GE:エンジンサンプル"
	pgid     = "GE0006"
	title    = "ラベル概要説明"
	date     = "2012/07/10"
	author   = "S.Li"
	text     = "ZZZZ"
	version  = "001"
/>

<!-- history.back() で戻るボタンを表示します。	-->
<jsp:directive.include file="/jsp/common/history_back.jsp" />

<og:columnCheck command="{@command}" />
<og:entry command="{@command}" />

<og:equals val1="{@sqlType}" val2="DELETE" notEquals="true" >
	<og:tableExist
		dbid		= "{@MEM.TO_DBID}"
		command 	= "{@command}"
		from		= "GEA08"
		where		= "SYSTEM_ID=[SYSTEM_ID] AND LANG=[LANG] AND CLM=[CLM] AND FGJ in ('0','1')"
		errRemove	= "{@errRemove}"
	/>
</og:equals>
<og:value command = "SETTBL" key = "CLM" action = "APPEND"/><!-- 2012/08/21 ADD -->
<og:tableUpdate
	dbid			= "{@MEM.TO_DBID}"
	command			= "{@command}"
	resourceType	= "GEA08"
	queryType		= "JDBCTableUpdate">
	<og:tableUpdateParam
		sqlType			= "{@sqlType}"
		table			= "GEA08"
		where			= "UNIQ = [UNIQ]"
		names			= "DESCRIPTION"
		logicalDelete	= "{@logicalDelete}"
	/>
</og:tableUpdate>

<!--他システムIDのリソース更新ここから-->
<og:value command="SET" key="remocommand" value="LABEL"/>
<jsp:directive.include file="/jsp/common/remoteResource.jsp" />
<!--他システムリソース更新ここまで-->

<og:value command="REMOVE" key="CLM" />

<og:forward page="result.jsp" keys="command" vals="RENEW" />
<jsp:directive.include file="/jsp/common/htmlend.jsp" />
</jsp:root>
