CREATE OR REPLACE TABLE RESTAPI.PARAM_RULES FOR SYSTEM NAME PARAM00001 ( 
	PARAM_NAME VARCHAR(128) CCSID 37 NOT NULL , 
	REST_NAME VARCHAR(128) CCSID 37 DEFAULT NULL , 
	"LOCATION" VARCHAR(10) ALLOCATE(4) CCSID 37 DEFAULT 'FORM' , 
	TYPENAME VARCHAR(16) ALLOCATE(4) CCSID 37 DEFAULT 'CLOB' , 
	LENGTH INTEGER DEFAULT NULL , 
	SCALE INTEGER DEFAULT NULL , 
	IS_REQUIRED FOR COLUMN IS_RE00001 SMALLINT DEFAULT 0 , 
	"CCSID" INTEGER DEFAULT 1208 , 
	CONSTRAINT RESTAPI.Q_RESTAPI_PARAM00001_PARAM_NAME_00001 PRIMARY KEY(	PARAM_NAME ) )   
	  
	RCDFMT PARAM00001 ; 

GRANT ALTER , DELETE , INDEX , INSERT , REFERENCES , SELECT , UPDATE   
ON RESTAPI.PARAM_RULES TO AMAPICS WITH GRANT OPTION ; 

GRANT DELETE , INSERT , SELECT , UPDATE   
ON RESTAPI.PARAM_RULES TO PUBLIC ; 

