Edit and manage PDS member using SMP/E



Edit and manage PDS member using SMP/E

Postby deucalion0 » Thu Feb 15, 2018 8:19 pm

Good afternoon all!

I was wondering if it was possible to edit a PDS member using SMP/E? Let's say I have a PDS member HLQ.MY.PDS(STABLE) and Inside the member STABLE is the following:
000001 <ENTRY 1 ABC>
000002 <ENTRY 2 DEF>
000003 <ENTRY 3 GHI>


Could I use SMP/E to mange this PDS member? If I wanted to apply a SYSMOD to change the member to reflect the following:
000001 <ENTRY 1 ABC>
000002 <ENTRY 2 XYZ>
000003 <ENTRY 3 GHI>
000004 <ENTRY 4 BMW>


I have researched the internet and looked through the manuals, I am perhaps not using the relevant keywords to find this functionality or it does not exist.

I would appreciate any enlightenment on this if possible.

Thanks a lot!!
deucalion0
 
Posts: 58
Joined: Thu Jul 31, 2014 3:47 pm
Has thanked: 32 times
Been thanked: 0 time

Re: Edit and manage PDS member using SMP/E

Postby enrico-sorichetti » Thu Feb 15, 2018 8:49 pm

why would You want to implement a complicate SMPE workflow just to update a PDS

here is a sketch ( incomplete ) of the steps needed

PREPARATION
define the standards , apply/accept apply only
- decide if the updates are full source replacements
- or iebupdte updates
define the naming conventions ( FMID, sysmods )
create the SMPE environment

the fun part of the preparation
build the sysmod for the initial installation of Your pds

UPDATE
create the sysmod
- use the proper sysmodid
- implement the proper PRE/SUP tokens

receive the sysmod
apply/check the sysmod
apply the sysmod
- do the accept processing if the design has it planned


...
...
...
...
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort

These users thanked the author enrico-sorichetti for the post:
deucalion0 (Thu Feb 15, 2018 9:20 pm)
enrico-sorichetti
Global moderator
 
Posts: 3003
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Edit and manage PDS member using SMP/E

Postby deucalion0 » Thu Feb 15, 2018 9:23 pm

enrico-sorichetti wrote:why would You want to implement a complicate SMPE workflow just to update a PDS

here is a sketch ( incomplete ) of the steps needed

PREPARATION
define the standards , apply/accept apply only
- decide if the updates are full source replacements
- or iebupdte updates
define the naming conventions ( FMID, sysmods )
create the SMPE environment

the fun part of the preparation
build the sysmod for the initial installation of Your pds

UPDATE
create the sysmod
- use the proper sysmodid
- implement the proper PRE/SUP tokens

receive the sysmod
apply/check the sysmod
apply the sysmod
- do the accept processing if the design has it planned


...
...
...
...


Hi Enrico!

Thanks for your fast response to this question, you raise a very good point or two.

I am just very curious about SMP/E and I have always wondered if it would be possible to do this.

From your reply, I am going to assume that it is possible but not a very good approach?

I will take it from your wealth of experience that my thinking is not the way forward with this.

Thanks!!
deucalion0
 
Posts: 58
Joined: Thu Jul 31, 2014 3:47 pm
Has thanked: 32 times
Been thanked: 0 time

Re: Edit and manage PDS member using SMP/E

Postby steve-myers » Thu Feb 15, 2018 9:36 pm

Yes, but there are lot of strange restrictions that means it's impractical.
  1. The source maintenance program is IEBUPDTE.
  2. You must use sequence numbers.
  3. You cannot use ./ NUMBER INSERT=YES.
  4. You cannot use ./ DELETE. You "delete" a line by making it an Assembler comment!
  5. If you are using ++SRC to define a module with no corresponding ++MOD, you cannot specify the module attributes for the DLIB.
In other words, SMP is OK to define a "macro" element such as an Assembler macro or a member that's a cataloged procedure where "maintenance" amounts to replacing the element. If I understand what you're thinking about, it ain't gonna work.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times


Return to Stupid Questions