<jsp:directive.page pageEncoding="UTF-8" />
[<og:text>{@writable}</og:text>]<br />

<og:query command = "{@command}" >
		select TBLSYU,TABLE_NAME,NAME_JA,SKENSU,JKENSU,TABLESPACE_NAME,INITIAL_AUTO,
				INITIAL_EXTENT,COMMENTS,SYSTEM_ID,FGJ,UNIQ
		from GF02
	<og:where>
		<og:and value = "FGJ             in   ('0','1')"        />
		<og:and value = "SYSTEM_ID  =  '{@SYSTEM_ID}'"  />
		<og:and value = "TBLSYU          =    '{@TBLSYU}'"      />
		<og:and value = "TABLE_NAME      like '{@TABLE_NAME}%'" />
		<og:and value = "TABLESPACE_NAME like '{@TABLESPACE_NAME}%'" />
		<og:and value = "NAME_JA         like '{@NAME_JA}%'"    />
	</og:where>
	<og:appear startKey = "order by" value = "{@ORDER_BY}" 
				defaultVal = "SYSTEM_ID,TABLE_NAME,TBLSYU" />
</og:query>

<og:viewLink command="{@command}">
	<og:link column="TABLESPACE_NAME" gamenId="GF2000" href="index.jsp" target="CONTENTS"
		keys="command,SYSTEM_ID,TBLSYU,TABLESPACE_NAME" vals="NEW,[SYSTEM_ID],[TBLSYU],[TABLESPACE_NAME]" />
	<og:link column="TABLE_NAME" gamenId="GF2020" href="index.jsp" target="CONTENTS"
		keys="command,SYSTEM_ID,TABLE_NAME" vals="NEW,[SYSTEM_ID],[TABLE_NAME]" />
</og:viewLink>

<og:columnEditor column="TABLESPACE_NAME" must="true" editor="DBMENU" addNoValue="false" >
	select TABLESPACE_NAME,TABLESPACE_NAME
	from GF01
	where FGJ in ('0','1')
	and SYSTEM_ID = '{@SYSTEM_ID}'
	group by TABLESPACE_NAME,TABLESPACE_NAME
	order by 1
</og:columnEditor>

<form onSubmit="return oneClick();" method="POST" action="forward.jsp" target="RESULT">
<og:writeCheck writable="{@writable}">
	<og:submit  value="copy"     lbl="COPY"    accesskey="C" />
	<og:submit  value="modify"   lbl="MODIFY"  accesskey="M" />
	<og:submit  value="delete"   lbl="DELETE"  accesskey="Z" />
	<br />
</og:writeCheck>

<og:view
	viewFormType  = "HTMLTable" 
	command       = "{@command}" 
	noDisplay     = "UNIQ"
	checked       = "{@checked}"
	startNo       = "{@startNo}" 
	pageSize      = "{@pageSize}"
	useScrollBar  = "false"
	writable      = "{@writable}"
/>
</form>
