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

<og:head headType="result" />
<jsp:directive.include file="/jsp/custom/result_info.jsp" />
<og:comment
	system	= "GF:エンジンサンプル"
	pgid	= "GF2050"
	title	= "定義ファイル取込"
	date	= "2008/10/27"
	author	= "Hiroki.Nakamura"
	text	= ""
	version	= "001"
/>

<og:equals val1="{@h_UPLOAD}" val2="true" >
	<og:entry command="ENTRY" selectedAll="true" useConsistency="false" >
		<og:columnSet command="ENTRY" columnId="KBCLM" action="NULLSET" value="0" />
		<og:columnSet command="ENTRY" columnId="RENDERER,EDITOR,DBTYPE" action="UPPER" />
	</og:entry>

	<!-- 登録処理をおこないます。 -->
	<!-- constObjKey="GF" で、DYSET,PGSET,PGPSET,USRSET,DYUPD,PGUPD,PGPUPD,USRUPD を自動セットします。 -->
	<og:tableUpdate command="ENTRY" queryType="JDBCTableUpdate" debug="true" selectedAll="true">
		<og:tableUpdateParam
			constObjKey = "GF"
			sqlType		= "INSERT"
			table		= "GF80"
			omitNames	= "I,DTYPE"
			constKeys	= "SYSTEM_ID,TBLSYU,FGJ"
			constVals	= "{@MEM.SYSTEM_ID},{@MEM.TBLSYU},1"
		/>
	</og:tableUpdate>
	<og:forward page="result.jsp" keys="command,pageSize" vals="RENEW,100" />
</og:equals>

<jsp:directive.include file="/jsp/common/htmlend.jsp" />
</jsp:root>
