<?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	= "GF6280"
	title	= "直接ファイル出力"
	date	= "2008/10/27"
	author	= "Hiroki.Nakamura"
	text	= ""
	version	= "001"
/>

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

<og:equals val1="DirectWriteTable" val2="{@TYPE}" >
	<og:directWriteTable
		dbid		= "{@DBID}"
		separator	= "{@separator}"
		useHeader	= "{@useHeader}"
		fileURL		= "{@USER.ID}"
		filename	= "{@filename}"
		encode		= "{@encode}"
		zip			= "{@zip}"
		zipFilename	= "{@zipFilename}"
		fileAppend	= "{@fileAppend}"
		fetchSize	= "{@fetchSize}"
		names		= "{@names}"
		queryType	= "{@queryType}"
	>
		{@SQL}
	</og:directWriteTable>

	<og:link href="{@SYS.CONTEXT_URL}{@SYS.FILE_URL}{@USER.ID}/{@filename}" target="_blank" useGamenId="false" >
		<img src="../image/floppy.gif" alt="Excel Open" /><og:message lbl="MSG0056" />
	</og:link>
</og:equals>

<og:equals val1="DirectTableInsert" val2="{@TYPE}" >
	<og:directTableInsert
		dbid		= "{@DBID}"
		separator	= "{@separator}"
		fileURL		= "{@USER.ID}"
		filename	= "{@filename}"
		encode		= "{@encode}"
		columns		= "{@columns}"
		commitBatch	= "{@commitBatch}"
	>
		{@SQL}
	</og:directTableInsert>
</og:equals>

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