× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: Pros & Cons
  • From: Buck Calabro <mcalabro@xxxxxxxxxxxx>
  • Date: Mon, 26 Oct 1998 17:14:08 -0500
  • Organization: commsoft

On Monday, October 26, 1998 7:42 PM, Tim-Bar [SMTP:timbar@blazenet.net] 
wrote:
> When creating a display file for a file maintenance program, is it
> better to reference the physical file fields or create fields with
> different names? If you use different screen field names you have to
> move the file fields into those fields to display on the screen and then
> move the screen fields back into the file fields before updating the
> record format. This seems like a lot of extra work. Is there any reason
> to do it this way?

Record locking.

In order for the "DSPF has PF names" to operate, you need to

DOW
CHAIN
EXFMT
UPDAT
ENDDO

If the workstation operator leaves her desk for lunch with that record on 
the screen, that record is locked for an hour.

If you rename the DSPF fields, there is no need to lock the record:

DOW
CHAIN (no lock)
MOVE DB to DSPF
EXFMT
CHAIN (lock)
MOVE DSPF to DB
UPDAT
ENDDO

Buck Calabro
Commsoft, Albany, NY
mailto:mcalabro@commsoft.net

+---
| 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 thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.