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
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:
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
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
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
5 matches
Mail list logo