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
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
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
call qcmdexc('wrkactjob', x'000000000900000F')
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.