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

<og:head headType="init" />
<og:comment
	system	= "GF:エンジンサンプル"
	pgid	= "GF7090"
	title	= "バッチテスト"
	date	= "2008/10/27"
	author	= "Hiroki.Nakamura"
	text	= ""
	version	= "001"
/>

<body>
<pre>
<og:mainProcess useThread="false" useJspLog="true" useDisplay="true">
  <og:process processID="DBParam" />
  <og:process processID="DBReader">
    <og:param key="dbid"	value="{@FROM}" />
    <og:param key="display"	value="false" />
    <og:param key="sql"		value="select * from GF41 where FGJ='1'" />
  </og:process>
  <og:process processID="DBCountFilter">
    <og:param key="dbid"	value="{@TO}" />
    <og:param key="sql">
		SELECT COUNT(*) FROM GF41
		WHERE SYSTEM_ID=[SYSTEM_ID]
		AND   CLM=[CLM]
		AND   FGJ = '1'
    </og:param>
    <og:param key="count"	value="1" />
    <og:param key="display"	value="false" />
  </og:process>
  <og:process processID="TableWriter">
    <og:param key="outfile"		value="{@SYS.REAL_PATH}{@SYS.FILE_URL}{@USER.ID}/{@GUI.KEY}.txt" />
    <og:param key="encode"		value="UTF-8" />
    <og:param key="append"		value="false" />
    <og:param key="display"		value="true" />
  </og:process>
</og:mainProcess>
</pre>

<p>
<og:link href="{@SYS.CONTEXT_URL}{@SYS.FILE_URL}{@USER.ID}/{@GUI.KEY}.txt" target="_blank" useGamenId="false" />
</p>

</body>

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