|
What about a control file keyed by filename, user data and other parts of the spooled file id. Then, when you want to execute another process, just add a new entry to the control file. Brad On 1 Apr 2002 16:11:16 -0800 Mike Wills <programmer@koldark.net> wrote: > I am going to probe the great minds on this list for some > ideas.... > > I am looking at ways to make a program more dynamic. I > have a program that will monitor outqs for spool files > through a dataq and kick off a processing program. The > processing program then runs hard-coded processes based > on the spool file information. Several processes could be > the same or similar, but they could also be very > different. So every time I need to add another spool > file, I need to modify this program, recompile and test > it. I would like to try and make this program more > dynamic to eliminate this need. Can this be done either > via RPG or Java? > > What this processing program does is set up the > information I need to create the file name and path from > the job and spool file information in the dataq for me to > make different files that are either located on the IFS > or an FTP server. I would prefer a RPG solution but would > also do this in Java. > > Thanks for any help, > > --------- > Mike Wills > AS400 Programmer > programmerATkoldarkDOTnet > > > Programming today is a race between software engineers > striving to build bigger and better idiot-proof programs, > and the universe trying to build bigger and better > idiots. So far, the universe is winning. > -Robert Cringley > __________________________________________ > Launch your own web site Today! > Create a Web site for your family, > friends, photos, or a special event. > Visit: http://www.namezero.com/sitebuilder > _______________________________________________ > This is the Java Programming on and around the iSeries / > AS400 (JAVA400-L) mailing list > To post a message email: JAVA400-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l > or email: JAVA400-L-request@midrange.com > Before posting, please take a moment to review the > archives > at http://archive.midrange.com/java400-l. > Bradley V. Stone BVS.Tools www.bvstools.com
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.