|
Glenn said: > Yes, thanks, that was the problem. What's a BCI job? A BCI job is a 'Batch Immediate' job. A Batch immediate job is a new job and its process structure created by avoiding much of the typical work management startup associated with a Job on the As/400. It avoids things like job queues and routing entries. It copies much of its environment/attributes (priority, subsystem, and lots of other stuff) directly from the parent job. Its about 3-5 times cheaper than a traditional job start mechanism (i.e. SBMJOB) Prestart jobs (job pooling) are another way that we attempt to optimize or (pay for later/hide) the cost of AS/400 process startup. This type of job becomes a closer match for places where you would use fork()/spawn() in your application. In fact, spawn() is implemented using batch immediate jobs. Simon said: > If I had done this I'd be looking at a single BCI job per shell instance to > handle the commands and queue them via user queues. Admittedly that is > just off the top of my head and there may be other considerations I've not > considered. It might not implement the Unix philosophy properly but then > ANU (AS/400s NOT UNIX). Yeah, but the whole point is that you want those very applications and utilities because customers ARE clamouring for them. The apps/utilities require the unix philosophy, in addition to enabling the programming model that people want (yes, people DO want that model). You may think we make mistakes when we do that, and clearly we do. However, that stuff is seldom just for the fun of it, but instead is usually to hook particular applications or tools. I.e. You're correct. Our customers DON'T want unix, they just want UNIX application X. On their AS/400. If we can get that application easily/cost effectively, we can get the customers. Typically application X vendor just isn't interested in the AS/400 until the operating system makes it very easy to port. Hence, we run some of everything. I could be wrong, but that's my perception of the way I see it working again and again here. "The stuff we call "software" is not like anything that human society is used to thinking about. Software is something like a machine, and something like mathematics, and something like language, and something like thought, and art, and information... but software is not in fact any of those other things." Bruce Sterling - The Hacker Crackdown Fred A. Kulack - AS/400e Java and Java DB2 access, Jdbc, JTA, etc... IBM in Rochester, MN (Phone: 507.253.5982 T/L 553-5982) mailto:kulack@us.ibm.com Personal: mailto:kulack@bresnanlink.net AOL Instant Messenger: Home:FKulack Work:FKulackWrk +--- | This is the JAVA/400 Mailing List! | To submit a new message, send your mail to JAVA400-L@midrange.com. | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. | Questions should be directed to the list owner: joe@zappie.net +---
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.