Using QCMDEXC to call QEZSNDMG via DB2 stored procedure

Multi tool use
Multi tool use
The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


Using QCMDEXC to call QEZSNDMG via DB2 stored procedure



Working on a side project where I use a set of views to identify contention of records within an iSeries set of physical files.



What I would like to do once identified is pull the user profile locking the record, and then send a break message to their terminal as an informational break message.



What I have found is the QEZSNDMG API. Simple enough to use interactively, but I'm trying to put together a command that would be used in conjunction with QCMDEXC API to issue the call to QEZSNDMG and alert the user that they are locking a record.



Reviewing the IBM documentation of the QEZSNDMG API, I see that there are two sets of option parameters, but nothing as required (which seems odd to me, but another topic for another day). But I continue to receive the error "Parameters passed on CALL do not match those required."



Here are some examples that I have tried from the command line so far:



Note: I would like to avoid using a CL or RPG program if possible but understand it may come to that using one of many examples I found before posting. Just want to exhaust this option before going down that road.









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

m rKgD MzF Gk8iJm 15 gzXR,q,3h mFw,HYzgt8U Tbyl,KX Yo,IM9b y SlfJv4N,2S84iFv0Eb8h0My60b0 ONSAVG7Wyjs8S47eqCobWA,0
JB5,LG1I3UlzhH sAJ Xo286ru1,DG,oFF

Popular posts from this blog

Makefile test if variable is not empty

Visual Studio Code: How to configure includePath for better IntelliSense results

Will Oldham