Solved

Savrstlib Not Releasing After Job Completed on Source System

Posted on 2016-07-21
5
22 Views
Last Modified: 2016-09-05
We are currently trying to use the savrstlib command between our source and target iSeries systems.  The transfer happens successfully; however, on the source system we need to kill the job otherwise we cannot access the files on the target system.  Is there a reason why the job wouldn't end on the source system if it is actually successful considering we checked the data on the target system upon killing the job?

Any help on this would be greatly appreciated.

-Anthony
0
Comment
Question by:Anthony6890
  • 4
5 Comments
 
LVL 1

Author Comment

by:Anthony6890
ID: 41723407
Sorry, as an update we've been doing savrstobj and not savrstlib.
0
 
LVL 34

Assisted Solution

by:Gary Patterson
Gary Patterson earned 500 total points
ID: 41725316
I can' think of any reason that SAVRSTOBJ should be holding locks on objects after the save portion of the task completes.  If I recall correctly, SAVRSTOBJ just:

  • Creates a temporary save file
  • Executes the SAVOBJ command to save the specified objects to the save file (any source object locks should be released once this step completes)
  • Transmits the save file to the target system
  • Restores the objects from the save file on the target system

Can you provide the following:

1) Specific SAVRSTOBJ command that you are executing, with all parameters

2) Job log from save job on source system

3) Job locks (from DSPJOB) from the save job on the source system.

4) Job log from restore job on target system

5) Job locks from the restore job on the target system

6) WRKOBJLCK command on one of the locked objects on the target system before the source job is terminated.
0
 
LVL 1

Author Comment

by:Anthony6890
ID: 41725321
Hi Gary, thanks for getting back to me. Give me a day or so to get you all that information.

Thanks.

Anthony
0
 
LVL 1

Accepted Solution

by:
Anthony6890 earned 0 total points
ID: 41778573
Gary, it looks like the reason why it wasn't ending correctly was because of an actual WAN connection issue.  We've had some very successful tests so far, so we are content with the results.  Thank you for your suggestions on this.

-Anthony
0
 
LVL 1

Author Closing Comment

by:Anthony6890
ID: 41784431
Our issue ended up being outside the scope of the actual commands and the 400 itself and was instead the physical connection between the two locations.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
RPG IV and RPG ILE book 4 431
Installing a Printer on AS400 5 177
AS/400 Backup to Disk 7 401
XML response optional elements 12 37
Read about the ways of improving workplace communication.
Employees depend heavily on their PCs, and new threats like ransomware make it even more critical to protect their important data.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question