Anyone know if there is a way to look at a *PGM object (attribute RPGLE) and determine if was compiled referencing an Open Access Handler (obviously, in this case, HANDLER('PROFOUNDUI(HANDLER)') )? We have not been able to using DSPPGM, DSPPGMREF, DSPOBJ...
Thanks,
Jim
PUI *PGM Object vs. DDS *PGM Object
-
- New User
- Posts: 13
- Joined: Sun Feb 05, 2012 5:44 pm
- First Name: Jim
- Last Name: Rohde
- Company Name: TMW Systems
- Phone: 440-721-2931
- Address 1: 6350 Quadrangle Dr
- Address 2: Suite 300
- City: Chapel Hill
- State / Province: North Carolina
- Zip / Postal Code: 27517
- Country: United States
- Contact:
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: PUI *PGM Object vs. DDS *PGM Object
I'm not aware of anything like that.
What are you looking to use this info for? Maybe there's another way...
What are you looking to use this info for? Maybe there's another way...
-
- New User
- Posts: 13
- Joined: Sun Feb 05, 2012 5:44 pm
- First Name: Jim
- Last Name: Rohde
- Company Name: TMW Systems
- Phone: 440-721-2931
- Address 1: 6350 Quadrangle Dr
- Address 2: Suite 300
- City: Chapel Hill
- State / Province: North Carolina
- Zip / Postal Code: 27517
- Country: United States
- Contact:
Re: PUI *PGM Object vs. DDS *PGM Object
As an ISV we will be delivering both HANDLER based and 5250 based RPGLE programs to customers at multiple versions. We will, of course, keep them separated in different libraries, use change management and all that good stuff but in the unlikely event that we need to examine a set of *PGM RPGLE objects it would be good to know.
I did figure that I can do a DSPPGMREF on an RPGLE program and see the library that the related display file exists in - just thought there might be a better/easier way.
I did figure that I can do a DSPPGMREF on an RPGLE program and see the library that the related display file exists in - just thought there might be a better/easier way.
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: PUI *PGM Object vs. DDS *PGM Object
If you don't mind flagging this manually, you might try adding it into the COPYRIGHT for the program. For example, in your H-specs, you could do:
Then if you do a DSPPGM, you could see that you had put HANDLER in the copyright.
Would that help?
Code: Select all
H COPYRIGHT('(c) 2012 TMW, All Rights Reserved - HANDLER')
Would that help?
-
- New User
- Posts: 13
- Joined: Sun Feb 05, 2012 5:44 pm
- First Name: Jim
- Last Name: Rohde
- Company Name: TMW Systems
- Phone: 440-721-2931
- Address 1: 6350 Quadrangle Dr
- Address 2: Suite 300
- City: Chapel Hill
- State / Province: North Carolina
- Zip / Postal Code: 27517
- Country: United States
- Contact:
Re: PUI *PGM Object vs. DDS *PGM Object
A good idea but somewhat labor intensive since only about a third of the programs affected have H specs in a copybook.
Thanks for your help.
Thanks for your help.
Who is online
Users browsing this forum: No registered users and 0 guests