|
At 10:08 12/19/2002, John Hall wrote:
We have a batch control file which holds the master record for detail records which could be in any one of three files. When a record is deleted from the control file we use a trigger to clean up the detail files. When this trigger attempts to launch an STRQMQRY to delete the records in the file we get an error that states SQL CONNECT is not allowed within a trigger.
Well, maybe you could sbmjob cmd(strqmqry...). You're not using CL for your trigger are you? CL uses all automatic storage, and everything gets reinitialized every time it gets is invoked. I tried using CL for a format selector program once. The overhead was enormous. Pete Hall pbhall@ameritech.net http://www.pbhall.us/
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.