Midrange News for the IBM i Community


Posted by: GL Slone
Converting objects from v6r1 to v7r1 automatic?
has no ratings.
Published: 08 Dec 2014
Revised: 12 Dec 2014 - 3413 days ago
Last viewed on: 14 Apr 2024 (4506 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

Converting objects from v6r1 to v7r1 automatic? Published by: GL Slone on 08 Dec 2014 view comments(2)

A question, if I may. We are running our development partition at v7r1 but compiling objects at v6r1 for production. I have been told by several sources that if your OS is at 7.1, then objects created at target release 6.1 will automatically become 7.1 objects the first time they are "touched"/invoked on the 7.1 box.

How does on verify/view this? when I look, on the 7.1 box, at a program with WRKOBJ or DSPPGM, I still see 6.1 stamps on the object as the target release.

What is the truth and what am i missing?

thanks

Return to midrangenews.com home page.
Sort Ascend | Descend

COMMENTS

(Sign in to Post a Comment)
Posted by: bobcozzi
Site Admin ****
Chicagoland
Comment on: Converting objects from v6r1 to v7r1 automatic?
Posted: 9 years 4 months 7 days 14 hours 39 minutes ago

The Target Release is not the same as the "Release Created On" release.

If you have COZTOOLS, use the DSPOBJINF commadn to view the creation/target release levels for yoru programs.

If you don't then use something else, such as DSPOBJD or DSPPGM.

When you create an object, it is created for that target release. The actual compile on V7R1 that is being used to target V6R1 is the V6R1 compiler. So it is a true v6r1 object.

re-encapsulation occurs during a RSTOBJ or RSTLIB operation. But the objecdt will continue to have the original TGTRLS attribute regardless of on which release it is running or created.

 

Posted by: Midnite1
Premium member *
Comment on: Converting objects from v6r1 to v7r1 automatic?
Posted: 9 years 4 months 5 days 17 hours 7 minutes ago

Thanks Bob. That has been re-comfirmed. I appreciate your help and info.