|
2. I don't know that parameters are cast to what is needed - forOk coming from RDBMSes where you dont have signature overloads, I could see
example, if you pass a character literal, I believe it is passed as a
VARCHAR, which often results in problems of not finding the right SP
signature.
Ok now having a better idea of ho DB2 for I works from the preceding
3. I'm not sure why the example with 14 digits worked - well, I think I
do, because of the way packed values are handled - 14,5 and 15,5 both
take the same number of bytes - all packed have a "sign" in the last
nybble, so a 14-digit number takes 15 nybbles - well, you need another
to make an even number of nybbles, that will be a 0, so it is the same
as 15,5
4. Finally, you don't have to pass the length parameter<snip/>
so change your call to this - call qsys2.qcmdexc('wrkactjob') and Bob's
your uncle.
call qcmdexc('wrkactjob', x'000000000900000F')
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.