Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binding source for XMLSTOREDP #28

Merged
merged 3 commits into from
Feb 12, 2019
Merged

Binding source for XMLSTOREDP #28

merged 3 commits into from
Feb 12, 2019

Conversation

Justin-E-Taylor
Copy link
Contributor

#27
This binding source should export only procedures actually needed by the stored procedure. For the signature, I just used the *SRVPGM name and a date. I don't know what the "best practice" is for signatures. I made no attempt to retrieve the prior signature.

@kadler
Copy link
Member

kadler commented Feb 8, 2019

You'll need to sign off your commits. You can find the details on how to do that by clicking on the Details link for the DCO bot above.

justin added 2 commits February 11, 2019 09:42
Signed-off-by: Justin Taylor <JUSTIN@intranet.lorencook.com>
Signed-off-by: Justin Taylor <JUSTIN@intranet.lorencook.com>
@@ -0,0 +1,19 @@
strpgmexp pgmlvl(*CURRENT) signature('XMLSTOREDP 19039')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should use signature(*GEN) here. These are store procedure targets and only designed to be called by the database. It doesn't care about signatures, only that the symbol is exported. This will also prevent users from attempting to link to it (though, I suspect nobody would).

The *SRVPGM is only used by a Db2 stored procedure, so the signature is irrelevant.
@kadler kadler merged commit b4d6046 into IBM:master Feb 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants