PUI *PGM Object vs. DDS *PGM Object

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
jimr
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:

PUI *PGM Object vs. DDS *PGM Object

Post by jimr »

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
Scott Klement
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

Post by Scott Klement »

I'm not aware of anything like that.

What are you looking to use this info for? Maybe there's another way...
jimr
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

Post by jimr »

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

Post by Scott Klement »

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:

Code: Select all

H COPYRIGHT('(c) 2012 TMW, All Rights Reserved - HANDLER')
Then if you do a DSPPGM, you could see that you had put HANDLER in the copyright.

Would that help?
jimr
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

Post by jimr »

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

Who is online

Users browsing this forum: No registered users and 1 guest