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 - 3097 days ago
Last viewed on: 02 Jun 2023 (4224 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: 8 years 5 months 26 days 2 hours 57 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: 8 years 5 months 24 days 5 hours 25 minutes ago

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