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.
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
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.