|
Vern Hamberg wrote:
Not sure why the CMD parameter of SBMJOB strips things - does the RTGDTA parameter do things differently - I thought that I'd heard that might be one of the ways to get around this.
Heh... RQSDTA() rather than RTGDTA(). AFAIK, the name RQSDTA() refers to the *RQS request message that is queued. Its default is RQSDTA(*CMD) which apparently refers to what gets processed through the CMD() parameter.
Unfortunately, what comes out of the CMD() parameter doesn't have to match what goes into it. That's especially true when the command is CALL where there is no clear data typing of its parms and default types and lengths must be assigned.
If RQSDTA() is used, you construct the request message yourself. You control the rules of formatting. It's certainly not as easy as CMD(), but you get out of it exactly what you put into it.
> But I prefer using a command front end.
Well,... yeah. That way you can make the CMD() parameter work for you. It's designed to allow prompting of commands. Maybe its biggest problem is that when IBM added it to SBMJOB, they didn't reject CALL; then we'd still be using RQSDTA() like we used to.
Tom Liotta
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.