|
I have two files SourcePF is my physical file and SourceLF is alogical
built over that PF. Both are included in the program as update fileswith
add.a
In a subroutine the program sets a HIVAL on the logical and then does
readp in order to get the highest shipping number. At this point IThe
believe this field is locked and no other process can access read that
record. it then increrments the count and writes it to a variable.
other variables are setup and then the program finally writes a newrecord
to the Physical file, which at that point the lock is releasedcorrect?
duplicate
I am just checking every possible place for this thing to create
records (I did not write the code, just plugging the hole).....andmaking
sure that neither program can dup up the same number.confidential
This transmission may contain information that is privileged,
and/or exempt from disclosure under applicable law. If you are not thecopying,
intended recipient, you are hereby notified that any disclosure,
distribution, or use of the information contained herein (includingany
reliance thereon) is STRICTLY PROHIBITED. If you received thisdestroy
transmission in error, please immediately contact the sender and
the material in its entirety, whether in electronic or hard copyformat.
Thank you.list
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
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.