<?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	= "GF7000"
	title	= "郵便番号検索"
	date	= "2008/10/27"
	author	= "Hiroki.Nakamura"
	text	= ""
	version	= "001"
/>
<og:message lbl="MSG0045" comment="複写処理を行います。" /><br />

<og:directWriteTable
	fileURL		= "{@USER.ID}"
	filename	= "KEN_ALL_OUT.CSV"
	separator   = ","
	encode		= "MS932"
>
	SELECT JISCODE,POSTCODE_SHORT,POSTCODE,JIGYO_KANA,PREF_KANA,CITY_KANA,
			TOWN_KANA,JIGYO_KANJI,PREF_KANJI,CITY_KANJI,TOWN_KANJI,CODE_SHU
	FROM GF42 ORDER BY JISCODE,POSTCODE
</og:directWriteTable>

<og:link href="{@SYS.FILE_OUT_URL}{@USER.ID}/KEN_ALL.CSV" target="_blank" useGamenId="false" >
	<img src="{@SYS.JSP}/image/floppy.gif" alt="Excel Open" /><og:message lbl="MSG0056" />
</og:link>

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