<?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	= "ORA07"
	title	= "TKPROF"
	date	= "2008/10/27"
	author	= "Hiroki.Nakamura"
	text	= ""
	version	= "001"
/>

<og:value command="SQL" >
<jsp:text>select value DUMP_DIR from v$parameter where name = 'user_dump_dest' </jsp:text>
</og:value>

user_dump_dest=<og:value command="GET" key="DUMP_DIR" />
<br /><br />

<og:query command="{@command}" debug="{@debug}" trace="true" dbid="{@DBID}" maxRowCount="{@maxRowCount}" quotCheck="false">
	<jsp:text>{@SQL}</jsp:text>
</og:query>

<og:shell
	workDir  = "jsp\ORA07\"
	program  = "dunm_tkprof.bat {@DUMP_DIR}"
	useBatch = "true"
	wait     = "true"
	stdout   = "false"
	stderr   = "true"
/>

<pre>
<og:shell
	program  = "type {@DUMP_DIR}\dump.txt"
	useBatch = "true"
	wait     = "true"
	stdout   = "true"
	stderr   = "true"
/>
</pre>

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