|
One other difference, if I remember correctly. EXCAMTASK allows you to specify the 'run environment' i.e. you run a default task in the 'PRD' environment. With RUNAMTASK the task has to be defined in your 'run environment' - If task SL 03 1234 is called it will use the 'blank' environment library list so you must set up the task as SLPRD03 1234 if you wish to use the PRD environment. Richard Caldicott Director of Implementations & Efficiency Tandy Brands Accessories 817-548-0090 extn 146 MWaite@xxxxxxxxxx om Sent by: To system21-bounces+ System 21 Users richard_caldicott <system21@xxxxxxxxxxxx> =tandybrands.com@ cc midrange.com Subject Re: [SYSTEM21] Running S21 tasks 04/21/2005 05:33 from outside S21 AM Please respond to System 21 Users <system21@midrang e.com> RUNAMTASK works just fine, although it doesn't have the help text that graces EXCAMTASK, is undocumented and it is a trifle pernicketty. It requires you to specify the PGM parameter, even though this would not appear necessary - given that you've just specified the task code! If you've got the brute to work, I'd carry on using it. Regards Mike system21-bounces@xxxxxxxxxxxx wrote on 21/04/2005 11:20:28: > > > > > Hi, > > We need to run a S21 (bespoke) task in order to extract some data to be > used by a PC progarm. > > A search of the archives comes up with with the suggestion of using > EXCAMTASK. Unfortunately when I try this in Aurora it does nothing. The > old RUNAMTASK does seem to work, but a very wise person has advised that > this is an old command that we shouldn't use. Does anyone have any advice > on that subject? > > The second part of the question is whether it's better to use FTP, Client > Access or some clever stuff with database triggers (i.e. the PC program > uses ODBC to write to an AS/400 DB file that has a trigger on it). Again, > I'd be grateful for any advice on this. > > Best Regards > Chris > > _______________________________________________ > This is the System 21 Users (SYSTEM21) mailing list > To post a message email: SYSTEM21@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/system21 > or email: SYSTEM21-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/system21. > > _______________________________________________ This is the System 21 Users (SYSTEM21) mailing list To post a message email: SYSTEM21@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/system21 or email: SYSTEM21-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/system21.
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.