Record has been changed since you found it

Latimer, Richard richard.latimer at airways.co.nz
Wed Apr 18 16:58:18 CDT 2007


Hi there,
 
In my experience with our PH application this error is almost always caused by an attempt to update the same record twice ... we had a lot of trouble in our application where we use date ranged records and it was easy to end up with multiple linkages and record complexes. 
 
I know in this example there is only one input file and no link statements but there is still implicit linking in building up the records to output.   
 
The error message is pointing to the file rpjctrl  -  I note that the primary key is a char*22  and  you are outputting at a sort key that is only 14 bytes. I would suggest that defining a more explicit output linkage to that file might  be a good start.
 
cheers
Richard

	-----Original Message----- 
	From: powerh-l-bounces+richard.latimer=airways.co.nz at lists.sowder.com on behalf of Abd Ghani Abdullah 
	Sent: Thu 19/04/2007 2:49 a.m. 
	To: PowerHouse listserver 
	Cc: 
	Subject: QTP: Record has been changed since you found it
	
	

	Hi all,
	
	Operating System: HPUX-B.11.23 ia64
	Powerhouse: 8.43.D1
	
	I have problem with QTP. Basically it is reading from one file and dumping the
	output to three different files. (the qshow and program are attached). It is
	run as a batch and nobody accesses the database at this time. In any case, it
	is adding the new entries to the files but Powerhouse still give the error.
	
	Error description:
	
	Record has been changed since you found it. [2]
	  File: RPJCTRL
	    Linkitem: RPJ-KEY          61103500200000020070413
	
	Appreciate any input.
	
	Thanks & regards.
	
	Qshow output:
	


**********************************************************************
This electronic message together with any attachments is confidential. If
you receive it in error: (i) you must not use, disclose, copy or retain
it; (ii) please contact the sender immediately by reply email and then
delete the emails. Views expressed in this email may not be those of the
Airways Corporation of New Zealand Limited
**********************************************************************




More information about the powerh-l mailing list