WebSep 7, 2005 · The lock might need to be *EXCLRD or *EXCL rather than *SHRUPD. It will depend on what else should be allowed to happen. *SHRUPD -- Share for Update -- will allow other jobs to update the file while this lock exists. *EXCLRD -- Exclusive/Allow Read -- will allow other jobs to read this file but they can't do any updating. WebMar 14, 2007 · An RPG program accessed one physical file through three access paths–the physical file itself and two logical files that were built over the physical file. The program screeched to a halt when a record that had been read and locked for update through one access path was requested to be read for update through another access path.
IBM AS/400 , Record Locking - ManualsDump.com
WebWhen a record is locked by an RPG IV program, that lock remains until one of the following occurs: ¹ the record is updated. ¹ the record is deleted. ¹ another record is read from the file (either for inquiry or update). ¹ a SETLL or SETGT operation is performed against the file ¹ an UNLOCK operation is performed against the file. WebJul 1, 2011 · Solutions: 1) Fix the program, read without lock, display the record, after the user presses enter, read with lock, compare to see if the record was changed by somebody else, then update. 2) Use SQL to delete all records OR try ALCOBJ OBJ ( (MYFILE *FILE *EXCL)) CONFLICT (*RQSRLS) before doing the CLRPFM. HTH, Charles dostava 24h podgorica
23 Most Common AS400 Commands - AS400 ISeries
WebDec 15, 2010 · There are two ways to figure out which locked object a job is waiting for. One way to locate it is by using i5/OS green screen commands; the other is by using iSeries Navigator (OpsNav). Here’s the drill for … WebJul 29, 2015 · This approach is a two step process. The first I need to find the System Object Name of the object in the QDLS. I do this using the Display DLO Name command, … WebApr 25, 2005 · ** object name, library and type as well as object lock state, similar ** to some of the information that is displayed by the DSPJOB or ** WRKJOB commands' Job Locks panel. Running the command DSPJOB ** OPTION( *JOBLCK ) will show the information referred to above. ** dostava 24h kragujevac