QEZSNDMG is a program, not a command. You can change the defaults for commands, but not programs (unless the defaults are System Values).
See here:
http://publib.boulder.ibm.com/iseries/v5r2/ic2924/index.htm?info/apis/QEZSNDMG.htm
...for details of the program and its parameters. Note that you can determine with the Delivery Mode parameter whether the message will BREAK or will simply obey the setting for the message queue. If the message queue is set to ALWAYS break, you can't change that setting from this program.
Sloopy
I knew it was a program but wondered if there were any system parms that could be set. Its one of the user requests b/c they always type 'Y'. They think it will save them time. If it was a command I know I could change it. Anyone have the source for it so I can change it...lol
Thanks
Ron
----------------------------------
Ron, it's an IBM-supplied system program. Its parameters are part of the call. There are no 'system wide' parameters which affect the program. If you are using it in a program you have written or for which you have the source, then you can change the value of that particular parameter in the calling parameter list.
What do you mean when you say that the users "always type 'Y'"? They don't have any access to the program call directly, but only through something written which contains the call. Whatever CALLS that program is what you have to look at.
NO source is available for IBM-supplied system programs.
Sloopy
Last Wiki Answer Submitted: July 29, 2009 2:48 pm by RonKoontz1,780 pts.
All Answer Wiki Contributors: RonKoontz1,780 pts. ,
Sloopy2,195 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
This API has a function to display a screen where users can enter some parameters. In Ron’s case he can’t pass a value to the screen and he’s asking if it’s possible by other ways.
The users use the “Go Assist” menu option 4. There they can change the interupt user to “y”. The only way I know how to change this is to write my own “send message” program and call this program with the parms fro the screen i created. Then change the user profile to use this program when assist key is pressed. I was just trying to see if there was something out there I was not aware of that would be real quick.
Sloopy,
This API has a function to display a screen where users can enter some parameters. In Ron’s case he can’t pass a value to the screen and he’s asking if it’s possible by other ways.
Wilson
The users use the “Go Assist” menu option 4. There they can change the interupt user to “y”. The only way I know how to change this is to write my own “send message” program and call this program with the parms fro the screen i created. Then change the user profile to use this program when assist key is pressed. I was just trying to see if there was something out there I was not aware of that would be real quick.
Thanks