<?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:entry command="{@command}" />

<og:equals val1="{@h_UPLOAD}" val2="true" >
	<og:tableUpdate
		selectedAll = "true"
		command		= "ENTRY"
		queryType	= "JDBCTableUpdate"
	>
	  <jsp:text>
		INSERT INTO GF80
			(TBLSYU,TABLE_NAME,NAME_JA,SEQNO,CLM_NAME,CLM,CLS_NAME,
			 PHY_LENGTH,USE_LENGTH,UK,IXA,IxB,IXC,IXD,IXE,IXF,IXG,NOT_NULL,C_KEY,F_KEY,
			 RENDERER,EDITOR,DBTYPE,DATA_DEFAULT,BIKO,COMMENTS,SYSTEM_ID,
			 CDKH,FGJ,DYSET,DYUPD,USRSET,USRUPD,PRGUPD)
		VALUES
			('3',[TABLE_NAME],[NAME_JA],[SEQNO],[CLM_NAME],[CLM],[CLS_NAME],
			 [PHY_LENGTH],[USE_LENGTH],[UK],[IXA],[IXB],[IXC],[IXD],[IXE],[IXF],[IXG],[NOT_NULL],[C_KEY],[F_KEY],
			 UPPER([RENDERER]),UPPER([EDITOR]),UPPER([DBTYPE]),REPLACE([DATA_DEFAULT],'''',''),[BIKO],[COMMENTS],'{@MEM.SYSTEM_ID}',
			 'A','1','{@USER.YMDH}','{@USER.YMDH}','{@USER.ID}','{@USER.ID}','{@GUI.KEY}')
	  </jsp:text>
	</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>
