|
the record lock.
In traditional RPG, it was easy to display which user is holding
a record.
I SDS
I 91 170 MSGTXT
.
.
.C KEY CHAIN FILE 9990
C *IN90 IFEQ '1'
C MOVEL MSGTXT ERRMSG
C END Then send MSGTXT to the screen informing the user which job had
How do you retrieve this information using SQL. For example, if
the code is:
ExecSql UPDATE Library/File
Set AgMayor = ' YES', AgMayorlcd = :Today
whereAgid# = :Agid#:
If (sqlstt <> '00000');
In a record lock, SQLSTT = 57033, but how does the
program retrieve the name of the job holding the record lock?
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.