-
Notifications
You must be signed in to change notification settings - Fork 62
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
Qstatus #66
Conversation
@@ -42,7 +42,7 @@ void setCCDTUrl(MQCNO *mqcno, PMQCHAR url, MQLONG length) { | |||
mqcno->CCDTUrlOffset = 0; | |||
mqcno->CCDTUrlPtr = NULL; | |||
mqcno->CCDTUrlLength = length; | |||
if (url != NULL) { | |||
if (url != NULL && length > 0) { |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
@@ -252,6 +252,15 @@ func ReadPCFParameter(buf []byte) (*PCFParameter, int) { | |||
case C.MQCFT_GROUP: | |||
binary.Read(p, endian, &pcfParm.Parameter) | |||
binary.Read(p, endian, &pcfParm.ParameterCount) | |||
|
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
mqmetric/queue.go
Outdated
package mqmetric | ||
|
||
/* | ||
Copyright (c) IBM Corporation 2016, 2018 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this is a new file the copyright start date should be 2018 not 2016
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Please ensure all items are complete before opening.
What
Add optional DIS QSTATUS metrics - which can be used on z/OS for minimal information
How
Add a queue.go following the pattern from channel.go, but had to modify names for uniqueness in package. Now use extended PCF command (_XR) format for z/OS compatibilty.
Testing
Used sample dashboards to collect data