Record Lock Questions

PREV 1 NEXT

Limit the number of record in a table

I want to limit the number of records that a user can input in a specific table. for instance, users should be able to subscribe to a race which are limited to 10 tracks.   I would i to have a clause or something that might help my to prevent users from exceeding the number of tracks...

Answer Question   |  Mar 28, 2012  2:08 AM GMT
records, LIMIT, number
asked by Astre88m

  5 pts.

Strange problem with locking of records

Hi All, My program reads many records one by one, and will update the  OLD KEY with NEW KEY in more than 100 files. If any run-time error/record locking the pgm will roll back the partial updates and continue with the next record. So, example take 5 records... in which I locked the 3rd record...

View Answer   |  Aug 29, 2011  2:45 PM GMT
AS/400, iSeries, Record lock
asked by Varun123

  145 pts.

Record Locking in Access 2007

How can I lock records in a simple Access database after updates? And, how do I set up the user interface to include only the form I would like for the user to complete? Software/Hardware used: Microsoft Access 2007

Answer Question   |  Aug 2, 2011  8:48 PM GMT
Access 2007, Record lock, Access Database
asked by SJohnso3

  5 pts.

Record Locking in SQLRPGLE

Hi All I have a SQLILE pgm which updates files through SQL statements. How to get the user id/job number which is locking the PF record through the program... if any data structure supports, whats the position of it... -Varun Software/Hardware used: AS/400

View Answer   |  Jun 23, 2011  12:35 AM GMT
Record lock, RPG Record Locks, AS/400 Records
asked by Varun123

  145 pts.

Record locking in iSeries

My program takes the input as file, and process those records one by one. Here I would like to add the commitment control, if any one record fails then roll back and continue with the next record. To test this, I need to lock the record in another session and to run the program to check the ROLBK....

View Approved Answer   |  Jun 14, 2011  7:38 AM GMT
AS/400, RPG Record Locks, Record lock
asked by Kar

  425 pts.

AS400 - File

I wanted to do Chain Kfld File1 If Found And Fld1 = 'Y'    Update File Else   Perform Next Chain Operation Endif Here I wanted to perform the Chain without Locking the Record. I wanted to perform Update Operation without Performing Read/Chain again if the Condition is True. How to achieve...

View Answer   |  Feb 22, 2011  2:05 PM GMT
AS400- File, AS/400 Records, Record lock
asked by Rajeshece

  880 pts.

When will AS/400 record lock?

Hi Guru's , I am new to RPG . I would like to know when record will be locked ? Example-1 : PGMA, using a PF1(Physical file) in input mode , PGMB using a logical file based on PF1, in input mode. In this case record will be locked or not (using read or chain or setll operation codes) ? If I will...

View Approved Answer   |  Sep 25, 2010  8:58 AM GMT
RPGLE, Record lock, RPG Record Locks
asked by SARKNS

  30 pts.

Records lock error

I keep getting a records lock error even after I change the setting to no records lock.

View Answer   |  Sep 14, 2010  10:33 AM GMT
Record lock, AS/400 Locking, AS/400 Records
asked by Tbartlett2010

  5 pts.

Prevent record lock scenario with AS/400 ?

Suppose 2 users are accesssing the same record in a file.User 1 tried to update the record and while doing so he did not log-off from his update screen,while the user tries to do inquiry on that same record. As a result there will be a record lock situation.How to prevent this scenario ? i need...

View Answer   |  Jun 14, 2010  7:13 AM GMT
Record lock, AS/400 Records, AS/400 Locking
asked by Supriyoas400

  125 pts.

remove a trigger file record lock

I have a CLLE trigger program that is trying to set a job environment. I am manipulating the LIBL on the fly based on the location of the order and if it's TEST or LIVE. I get the info from the trigger input parms which has the order#, location, TEST or LIVE, order# and order status which is blank...

View Approved Answer   |  Apr 7, 2010  4:23 PM GMT
TRIGGER, Record lock, RPGLE Program
asked by ToddN2000

  1,220 pts.

Mysterious AS/400 record locking

We have been experiencing a surge in the number of occurrences of record locks in our shop. We make sure we follow the rules for preventing record locks. But I have seen programs where the UNLOCK is not used even though the UPDATE operation is embedded in between If-EndIf statements. At first I...

View Answer   |  Jan 17, 2009  10:44 AM GMT
Record lock, AS/400 Records, AS/400 administration
asked by Bogeybetsy

  520 pts.

AS/400 iSeries Submitted Job/Batch Record Lock issue

I have looked at the other record lock questions/answers on this board but have been unable to find an answer to this problem. I am trying to capture a record lock error in a submitted program. The program is coded to capture the File Status as shown below. I have tested this same record locking...

View Answer   |  Nov 26, 2008  2:50 PM GMT
Record lock, AS/400 jobs
asked by Kevleemor

  605 pts.

How to explicitely Lock a record of a file in a SQLRPGLE program using embeded SQLs?

How to explicitely Lock a record of a file in a SQLRPGLE program using embeded SQLs?

View Answer   |  May 18, 2008  6:32 AM GMT
Record lock, Embedded SQL, SQLRPGLE
asked by Lokanath

  5 pts.

RPGLE Record Lock Data

I have a program that get a Record Lock. I have captured the *status, however, I need the Program & User that initially read the record first.

View Answer   |  Nov 15, 2007  8:04 PM GMT
AS/400, RPGLE, Record lock
asked by Doc13

  5 pts.

Batch Files - Record Locks

What is the most proficient technique to eliminate the record lock errors in batch processing?

View Answer   |  Nov 1, 2007  5:22 PM GMT
AS/400, Record lock
asked by Rpgilequestions

  0 pts.

PREV 1 NEXT