|
David Keck wrote: >To put things in perspective ... the >application is a utility that a >programmer may fire up and close >down several times during the day. >I want to preserve session-level >(duration is life of interactive job) >settings established in the morning >so that they do not need to be >re-established repeatedly during the day Then the job number alone is a sufficient "discriminator." Your original post said: > > I am defining a file to contain info related to interactive jobs with > >one uniquely keyed record per relevant interactive job. The info may > >persist for a long time. The natural key of JobUser/JobName/JobNumber might > >in a rare circumstance yield a duplicate as the system recycles job numbers. This is quite a different prospect from: >(duration is life of interactive job) Were I the programmer, I'd be looking for functionality similar to (gasp!) SEU's checkpoint/restart. The nature of your utility will determine the ultimate "natural" key; in SEU's case it is user/source file/lib/member. When my job inadvertently falls over (darned power plug!) the checkpoint will know that my user was working on project z and will prompt me to recover it. As an aside, the internal job identifier from QUSRJOBI gets invalidated by an IPL: http://publib.boulder.ibm.com:80/cgi-bin/bookmgr/BOOKS/QB3AM703/1.28.15#HDRJ OBRDE Buck Calabro Aptis; Albany, NY "We are what we repeatedly do. Excellence, then, is not an act, but a habit." --Aristotle Billing Concepts Corp., a NASDAQ Listed Company, Symbol: BILL +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.