REXX + DB2 question

2011-02-09 Thread karolf Gazeta.pl
Hi! I have a Rexx script where I run DB2 applications by DSN+CALL commands: ret_codes.='' do i=1 to . q1 = " RUN PROGRAM("pgmname") PLAN("planname") " q2 = " PARM('"parm_txt"')" queue (q1)(q2) queue " END " "DSN SYSTEM(DB2X)" ret_codes.pgm.i=pgmname ret_codes.pla

Re: REXX + DB2 question

2011-02-09 Thread Cris Hernandez #9
of the previous statement's completion code. Didn't see the RC being set in the 2nd example. Also, I can't tell what input values are changing within the DO loop. --- On Wed, 2/9/11, karolf Gazeta.pl wrote: > From: karolf Gazeta.pl > Subject: REXX + DB2 question > To:

Re: REXX + DB2 question

2011-02-09 Thread Steve Comstock
On 2/9/2011 2:07 AM, karolf Gazeta.pl wrote: Hi! I have a Rexx script where I run DB2 applications by DSN+CALL commands: ret_codes.='' do i=1 to . q1 = " RUN PROGRAM("pgmname") PLAN("planname") " q2 = " PARM('"parm_txt"')" queue (q1)(q2) queue " END " "DSN

Re: REXX + DB2 question

2011-02-09 Thread karolf Gazeta.pl
Sorry, but WHEN command works only after CALL/LOADGO TSO commands, not after CALL DSN subcommand. Karol Filipowicz 2011/2/10 Steve Comstock > On 2/9/2011 2:07 AM, karolf Gazeta.pl wrote: > >> Hi! >> >> >> I have a Rexx script where I run DB2 applications by DSN+CALL commands: >> >> ret_codes

Re: REXX + DB2 question

2011-02-10 Thread Steve Comstock
On 2/10/2011 12:18 AM, karolf Gazeta.pl wrote: Sorry, but WHEN command works only after CALL/LOADGO TSO commands, not after CALL DSN subcommand. Karol Filipowicz I was afraid of that. I thought it was only an outside chance. Thanks for reporting back. 2011/2/10 Steve Comstock On 2/9/20