SAVOBJ and Target Release

635 pts.
Hi, I haved saved some objects in a save file. Now there is an option in SAVOBJ (Target release). I want to save this save object in some older version. after pressing necessary parameters i press enter but could not restore the said save objects in that older version system. I also want to save these objects in my computer hard drives. I want to know is there any thing i need to do to save these objects apart from just filling up the target release version name. Thanks,

Answer Wiki

Thanks. We'll let you know when a new response is added.


Depending on the type of object, you may not be able to restore to a previous release. For example, certain programs may use new functions that are not supported on a previous release. You will normally see error messages in the joblog when you try to save these objects for a previous release.

It sounds to me that what you’re doing is correct, you should only need to specify the target release. Check the joblog for the job when you do the save and again when you do the restore – there may be some other problem stopping you restoring – for example an authority problem.


Martin Gilbert.

Discuss This Question: 6  Replies

There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Sangay
    i have seen the job log. Its perfect. if there is any problem with the authority then can u please specify me the correct authorities. Thanks, Siddharth
    635 pointsBadges:
  • Gilly400
    Hi, If there's no errors in the joblog, then the authorities should be OK. Regards, Martin Gilbert.
    23,730 pointsBadges:
  • LBurkett99
    The values allowed for the target release parameter are limited. You can go back just so far. With the cursor in the target release parameter field, press F4 to get a list of allowable values. Make sure the release you want to restore to is on this list. *PRV refers to the release previous to yours. You say you want to save these objects in your computer hard drive. If that hard driv is anything other than an iSeries drive you will not be able to access anything you have saved. You can save objects to a save file (DEV=*SAVF), copy it to a non-OS/400 drive and then copy it back to for restoral if need be. Leo Burkett
    850 pointsBadges:
  • DanD
    Can you be more specific and tell us what release you are saving from and what release you are restoring to?
    2,865 pointsBadges:
  • Nky
    Hi Sangay, Is there any resolution of your issue? Please Let me know if there.
    10 pointsBadges:
  • ShahImranAhmed

    Hi Sangay,

    You may do it by taking backup with the specifying the target release of the OS. See the following article.

    Current release to previous release support

    This support enables objects (such as programs and files) that are created and saved on the current release to be restored and used on a previous release.

    Object compatibility is provided for many languages, and most object types are supported on both release levels as long as the objects use only functions from a previous release.

    Description: Start of change You can enable current release-to-previous release support by using the target release (TGTRLS) parameter on create and save commands.  Description: End of change

    Table 1 illustrates the TGTRLS parameter and values available for the current and previous releases. The values in the table are used throughout this chapter. Refer to this table to determine the valid values for the release currently on your system.

    Description: Start of change The TGTRLS values must use the form VvRrMm. Description: End of change

    Current i5/OSĀ® release



    Other valid values




    Description: Start of change V5R3M0 Description: End of change









    Table 1. Values for TGTRLS parameter

    This support is extremely useful to the following situations:

    • A network enterprise with a central site development system on the current release and with remote sites still on the previous release.

    • An application development business with a single system on the current release that supports customers who might still be on the previous release.

    Current release-to-previous release support provides great savings and productivity improvements to application developers. By using this support, most network enterprises and application development businesses no longer need to maintain two development systems. (For example, two development systems could contain a previous-release system that contains previous-release objects, or a current-release system that contains current-release objects.) In most cases, this support enables previous- and current-release objects to exist on one development system.

    If you want to run control language (CL) programs for a previous release, you must install option 9 (*PRV CL Compiler Support) from i5/OS.

    You must save the object on the current release by using the target release (TGTRLS) parameter before restoring it on the previous release or previous modification. This saves the object in a format that is known to the previous release or previous modification.

    After the object has been created and saved using the target release (TGTRLS) parameter, it can be tested on the current-release system.

    After testing on the current-release system is completed, it is suggested that the object be distributed on a limited basis to previous-release systems or previous modification systems. Thus, if problems arise, they can be quickly corrected and contained with minimal impact to users.

    0 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.


Share this item with your network: