home *** CD-ROM | disk | FTP | other *** search
- rem +-------------------------------------------------------------------+
- rem | SRW_CMDN.SQL -- CREATE SRW_CMD_NAMES TABLE FOR TERMINAL BUILDER |
- rem | |
- rem | This script should be run in the system account and creates a |
- rem | table of SQL*ReportWriter command names to be used by the |
- rem | terminal builder (termdef). |
- rem +-------------------------------------------------------------------+
-
- set termout off;
- drop public synonym srw_cmd_names;
- drop table srw_cmd_names;
- set termout on;
-
- create table srw_cmd_names
- (
- cmd_num number(5),
- cmd_name char (30)
- );
-
- insert into srw_cmd_names values ( 2000, 'HELP' );
- insert into srw_cmd_names values ( 2001, 'UNDO' );
- insert into srw_cmd_names values ( 2002, 'ACCEPT' );
- insert into srw_cmd_names values ( 2005, 'CANCEL APPLICATION' );
- insert into srw_cmd_names values ( 2007, 'SHELL TO HOST' );
- insert into srw_cmd_names values ( 2008, 'REFRESH' );
- insert into srw_cmd_names values ( 2009, 'REPEAT' );
- insert into srw_cmd_names values ( 2010, 'PRINT SCREEN' );
- insert into srw_cmd_names values ( 2016, 'WINDOW' );
- insert into srw_cmd_names values ( 2019, 'BOOKMARK' );
- insert into srw_cmd_names values ( 2027, 'IGNORE' );
- insert into srw_cmd_names values ( 2100, 'RIGHT' );
- insert into srw_cmd_names values ( 2101, 'NEXT LINE' );
- insert into srw_cmd_names values ( 2102, 'LEFT' );
- insert into srw_cmd_names values ( 2103, 'PREVIOUS LINE' );
- insert into srw_cmd_names values ( 2108, 'FIRST LINE' );
- insert into srw_cmd_names values ( 2109, 'LAST LINE' );
- insert into srw_cmd_names values ( 2110, 'BEGIN OF LINE' );
- insert into srw_cmd_names values ( 2111, 'DELETE TO BOL' );
- insert into srw_cmd_names values ( 2112, 'END OF LINE' );
- insert into srw_cmd_names values ( 2113, 'DELETE TO EOL' );
- insert into srw_cmd_names values ( 2115, 'READ FILE' );
- insert into srw_cmd_names values ( 2116, 'WRITE FILE' );
- insert into srw_cmd_names values ( 2117, 'PREVIOUS WORD' );
- insert into srw_cmd_names values ( 2118, 'UNDELETE WORD' );
- insert into srw_cmd_names values ( 2119, 'NEXT WORD' );
- insert into srw_cmd_names values ( 2120, 'DELETE WORD' );
- insert into srw_cmd_names values ( 2121, 'MARK' );
- insert into srw_cmd_names values ( 2122, 'CUT' );
- insert into srw_cmd_names values ( 2123, 'PASTE' );
- insert into srw_cmd_names values ( 2126, 'SEARCH/REPLACE' );
- insert into srw_cmd_names values ( 2127, 'SEARCH' );
- insert into srw_cmd_names values ( 2128, 'DELETE CHARACTER' );
- insert into srw_cmd_names values ( 2129, 'DELETE LINE' );
- insert into srw_cmd_names values ( 2130, 'UNDELETE LINE' );
- insert into srw_cmd_names values ( 2131, 'DELETE BACKWARD' );
- insert into srw_cmd_names values ( 2136, 'COPY' );
- insert into srw_cmd_names values ( 2137, 'HIGHLIGHT' );
- insert into srw_cmd_names values ( 2141, 'ZOOM' );
- insert into srw_cmd_names values ( 2144, 'NEXT CHOICE' );
- insert into srw_cmd_names values ( 2145, 'PREVIOUS CHOICE' );
- insert into srw_cmd_names values ( 2150, 'HELP SCROLL UP' );
- insert into srw_cmd_names values ( 2151, 'HELP SCROLL DOWN' );
- insert into srw_cmd_names values ( 2152, 'HELP SCROLL TOP' );
- insert into srw_cmd_names values ( 2153, 'HELP SCROLL BOTTOM' );
- insert into srw_cmd_names values ( 2500, 'INSERT REC. BELOW' );
- insert into srw_cmd_names values ( 2501, 'INSERT REC. ABOVE' );
- insert into srw_cmd_names values ( 2503, 'QUERY' );
- insert into srw_cmd_names values ( 2505, 'FETCH' );
- insert into srw_cmd_names values ( 2506, 'DELETE RECORD' );
- insert into srw_cmd_names values ( 2507, 'UNDELETE RECORD' );
- insert into srw_cmd_names values ( 2511, 'PRINT REPORT' );
- insert into srw_cmd_names values ( 2512, 'PRINT PAGE' );
- insert into srw_cmd_names values ( 2516, 'SCROLL RIGHT' );
- insert into srw_cmd_names values ( 2517, 'SCROLL LEFT' );
- insert into srw_cmd_names values ( 2518, 'SCROLL LEFTMOST' );
- insert into srw_cmd_names values ( 2519, 'SCROLL RIGHTMOST' );
- insert into srw_cmd_names values ( 2522, 'SCROLL BOTTOM' );
- insert into srw_cmd_names values ( 2523, 'SCROLL TOP' );
- insert into srw_cmd_names values ( 2524, 'FIRST RECORD' );
- insert into srw_cmd_names values ( 2525, 'LAST RECORD' );
- insert into srw_cmd_names values ( 2526, 'NEXT RECORD' );
- insert into srw_cmd_names values ( 2527, 'PREVIOUS RECORD' );
- insert into srw_cmd_names values ( 2528, 'SCROLL DOWN' );
- insert into srw_cmd_names values ( 2529, 'SCROLL UP' );
- insert into srw_cmd_names values ( 2530, 'FIRST FIELD' );
- insert into srw_cmd_names values ( 2531, 'LAST FIELD' );
- insert into srw_cmd_names values ( 2532, 'NEXT FIELD' );
- insert into srw_cmd_names values ( 2533, 'PREVIOUS FIELD' );
- insert into srw_cmd_names values ( 2535, 'LIST' );
- insert into srw_cmd_names values ( 8, 'ADD TAB' );
- insert into srw_cmd_names values ( 10, 'ADD NEWLINE' );
- insert into srw_cmd_names values ( 4000, 'INSERT LINE' );
- insert into srw_cmd_names values ( 4004, 'KEY HELP' );
- insert into srw_cmd_names values ( 10000, 'MENU' );
- insert into srw_cmd_names values ( 10001, 'SELECT' );
- insert into srw_cmd_names values ( 10002, 'INSERT/REPLACE' );
-
- create public synonym srw_cmd_names for system.srw_cmd_names;
-
- grant select on srw_cmd_names to public;
-