HOME

FORUM

UPLOAD SOURCE

RPGLE/RPG

CLLE

SQLRPGLE

DDS

API

OTHER

JAVA

IFS

HTML

JAVA SCRIPT

PHP

MYSQL

XML

OLE DB



    
Enter keyword to search code examples.


Welcome to Code400.com   

Okay...We all like to get free stuff..Right?!? Well thats what we are offering here....Free Stuff
  1. Free storage for your source code.
    Post Your Source

  2. Free access to code samples. (site search)

  3. Free place to ask questions or just say what you want. 
    Share your thoughts

We are interested in what you have to say. If you can’t find what your’e looking for on this site....   Tell us  We will add it.

The small print says: We provide the source code on this site as only a guide. We do not recommend that anyone run any of the code provided on this site without first testing it. If you choose to download source from this site directly onto your production box without testing....Well, YOU are completely to blame and we don’t want to hear about it.

Random Quote

In the spring I asked the daisies If his words were true, And the clever, clear-eyed daisies Always knew. Now the fields are brown and barren, Bitter autumn blows, And of all the stupid asters Not one knows. --Sara Teasdale





Who Locked this Record
Download Programs/Display in text

Trapping error message for a locked record

Everyone has at one time experienced a record lock. We have put together an example of a program that when it incounters a record lock it displays in a window who is locking the record. You could mod this window to allow for sending a message to the user that has the record locked. Calling program LOCKIT will cause a record lock. fLOCKFILE UF E DISK c Read LOCKFILE c 'Locked' DSPLY Rply 1 c Eval *Inlr = *On c Return



Then call program LOCKPR
This program will attempt to read the locked record. When the default
wait time for the file has expired a record lock error message will be
generated. We will capture this message and pop up a window showing it.





About Code400.com | resume | Search | Site Map | Suggestions
© Copyright 2003-2008 Code400.com



Monday May 12, 2008 @ 7:48 AM