when developing external bound procedures - what are pros and cons of each.
1.) simply creating a *MODULE and a PR copybook and binding via a binding directory
or
2.) finishing off #1 with a binder language source member and creating a *SRVPGM from it
What you would end up with is a binding directory that references either the *MODULE (#1) or the *SRVPGM (#2) for your program to bind to for those procedures.
I have always felt like #2 (*SRVPGM's) are a bit overkill and tend to never do #2 above.
I know *SRVPGM's are popular, but any issues with leaving it at the *MODULE level?
1.) simply creating a *MODULE and a PR copybook and binding via a binding directory
or
2.) finishing off #1 with a binder language source member and creating a *SRVPGM from it
What you would end up with is a binding directory that references either the *MODULE (#1) or the *SRVPGM (#2) for your program to bind to for those procedures.
I have always felt like #2 (*SRVPGM's) are a bit overkill and tend to never do #2 above.
I know *SRVPGM's are popular, but any issues with leaving it at the *MODULE level?







Comment