|
Tim, Bear in mind that if NEWSIC is blocking records, then the file information data structure is not updated until the next block of records is loaded. So, while it may appear that your priming file (NEWSIC) is still pointing to record 1, it may not actually be processing that record. Eric DeLong ______________________________ Reply Separator _________________________________ Subject: Re: DSPJOB open files display? Author: <MIDRANGE-L@midrange.com > at INET_WACO Date: 10/2/98 6:38 PM Hi All, My company uses the OPEN/CLOSE on all update operations in order to avoid locking. I am still curious about the way the IO COUNT on the DSPJOB, for the file being updated (MKTLF022) is fluctuating wildly up and down --WHILE-- it is still on the FIRST record of the (NEWSIC) National Account # driving file. Please, see code below: C* C* READ NEWSIC FILE. C* C *IN10 DOWEQ*OFF C SETOF 11 C READ NEWSIC 10 <--Natl Acct drive file C *IN10 IFEQ *OFF like this. C* NA# NASIC C* READ MKTLF022 BY NA# FIELD. 10000 20022 C* 25000 14458 C OPEN MKTLF022 C NA# SETLLMKTLF022 C* C *IN11 DOWEQ*OFF C NA# READEMKTLF022 11 C *IN11 IFEQ *OFF C CSTUS IFEQ 'A' C* PROCESS AREA. C MOVE NASIC CSIC C MOVE 'R' CCRFLG C MOVE SYSDTE CCRDAT C MOVE SYSTIM CCRTME C MOVE PGMNME CCRUSR C 1 ADD COUNT COUNT 60 C UPDATMKTL022 C EXCPTLINE C ENDIF C ENDIF C ENDDO C CLOSEMKTLF022 C* C ENDIF C ENDDO C* C SETON LR This is very pain-in-the-assish, as I like to understand why a certain thing is happening, and it doesn't make any sense that while it is on record number 1 of the NEWSIC file that there would be any fluctuation (other than ascending) on the file being updated (MKTLF022) If you know let me know. Thanks! -- ~~~ (0 0) Tim & Dana Truax... and Caleb 5 years old. --ooO--(_)--Ooo-------------------------------------------- +--- | 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-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.