home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases.oracle
- Path: sparky!uunet!spool.mu.edu!uwm.edu!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!casbah.acns.nwu.edu!irving
- From: irving@casbah.acns.nwu.edu (Thomas Myers)
- Subject: Re: Help needed: Simple Forms V3 Qns.
- Message-ID: <1993Jan12.175408.22147@news.acns.nwu.edu>
- Sender: usenet@news.acns.nwu.edu (Usenet on news.acns)
- Nntp-Posting-Host: unseen1.acns.nwu.edu
- Organization: Northwestern University, Evanston, Illinois, USA
- References: <1993Jan11.230248.8262@brt.deakin.edu.au> <1993Jan12.083949.1@ocvaxc.cc.oberlin.edu>
- Date: Tue, 12 Jan 1993 17:54:08 GMT
- Lines: 37
-
- In <1993Jan12.083949.1@ocvaxc.cc.oberlin.edu> bamon@ocvaxc.cc.oberlin.edu writes:
-
- >In article <1993Jan11.230248.8262@brt.deakin.edu.au>, ajmex@brt.deakin.edu.au writes:
- > DEFINE TRIGGER
-
- > NAME = POST-COMMIT
- > TRIGGER_TYPE = V3
- > DESCRIPTION = Post Commit
- > TEXT = <<<
- > declare
- > temp_command char(200);
- > begin
- > /* batch the program */
- > select
- > 'batch/log=fa_log:fasj0630_BATCH.log' ||
- > '/noprint/keep/noidentify/noconfirm fasj0630' ||
- > '/param=("FASF0340","' ||
- > :form_variables.test_only_flag ||
- > '")'
- > into temp_command from dual;
-
- There is no need use a select statement to accomplish this. PL/SQL allows you
- to simply
-
- temp_command := 'batch/log=fa_log:fasj0630_BATCH.log' ||
- '/noprint/keep/noidentify/noconfirm fasj0630' ||
- '/param=("FASF0340","' ||
- :form_variables.test_only_flag ||
- '")';
-
- > host(temp_command,NO_SCREEN);
- > message('Batched program FASJ0630.');
- > end;
- > >>>
-
-
- > ENDDEFINE TRIGGER
-