They ran this to the ground over on the DB2-L listserv - start writing assembler to create your own program that can be called by the rexx seemed to be a possible answer.
http://www.idugdb2-l.org/cgi-bin/wa?A2=ind9912D&L=db2-l&P=3092 Looks like anyone who really wants to use REXX to invoke a DB2 utility will use DSNREXX to call call a stored procedure. I've gotten that to work, DB2, WLM, and Stored Procedures are a mess. The V9 Redbook is a step in the right direction, even if you are on V7 ro V8. By the way, DSNUTILB is in IEFSDPPT, so you do not need to put it in SCHEDxx unless you are trying to mangle what IBM provided. On Wed, 7 May 2008 06:37:29 -0500, Karol Filipowicz <[EMAIL PROTECTED]> wrote: >Hi > >I want to call DSNUTILB from REXX (of course by TSO CALL command like > ADDRESS TSO CALL *(DSNUTILB) ....) > >and: >1.in STEPLIB DD I've ONLY x.SDSNLOAD and x.SDSNEXIT (DB2 v8) >2.pgm DSNUTILB is in PPT table in SCHED00 >3. DSNUTILB is in IKJFT00 member for auth. from CALL. > >and finally I get abend 04E with reason 00E40002. >Anybody knows what should be done? > >Thanks! > >Karol Filipowicz - Poland > >---------------------------------------------------------------------- >For IBM-MAIN subscribe / signoff / archive access instructions, >send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO >Search the archives at http://bama.ua.edu/archives/ibm-main.html ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

