The initial AXRCMD call only returns the primary command responses.
Secondary command responses are not returned unless there are subsequent
AXRCMD calls with the command text omitted. Here's an example showing what
you need to do:
ARG InCmdText /* Retrieve command to be issued.
> Scott Ford wrote
>Date:Fri, 7 Nov 2008 00:54:01 -0500
>
>Subject: Re: how to write sysrexx
>
>Tommy,
>Here is one I wrote and its output
/* Rexx*/
>
>I tried this also but it only return one message line, It has to do with
the
>way the messages are
t; Of Tommy Tsui
> Sent: Friday, November 07, 2008 11:35 AM
> To: IBM-MAIN@BAMA.UA.EDU
> Subject: Re: how to write sysrexx
>
> yes...different shop may have different CONCHAR=? defined ...our shop perfer
> usse "/" instead of default "$"
>
> On Sat, Nov 8, 2
delete the
original. Any other use of the email by you is prohibited.
-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Tommy Tsui
Sent: Friday, November 07, 2008 11:33 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: how to write sysrexx
is it possible to
is prohibited.
-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Edward Jaffe
Sent: Friday, November 07, 2008 11:13 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: how to write sysrexx
Scott Ford wrote:
> Thxs, Mark...hadn't seen it used before,
yes...different shop may have different CONCHAR=? defined ...our shop perfer
usse "/" instead of default "$"
On Sat, Nov 8, 2008 at 12:33 AM, Tommy Tsui <[EMAIL PROTECTED]> wrote:
>
> is it possible to limit the console message issued from AXRCMD such as
> '/DI,L=Z' over 200 rows will display fro
is it possible to limit the console message issued from AXRCMD such as
'/DI,L=Z' over 200 rows will display from console?
On Sat, Nov 8, 2008 at 12:13 AM, Edward Jaffe
<[EMAIL PROTECTED]>wrote:
> Scott Ford wrote:
>
>> Thxs, Mark...hadn't seen it used before, been in a lot of JES2 shops..
>>
>>
Scott Ford wrote:
Thxs, Mark...hadn't seen it used before, been in a lot of JES2 shops..
If you have ever seen a poly-JES implementation, you should have seen
something like this in the JES2 init stream:
CONDEF CONCHAR=?
We use question mark as the command character for secondary JES2
ECTED] On Behalf
Of Mark Zelden
Sent: Friday, November 07, 2008 10:58 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: how to write sysrexx
On Fri, 7 Nov 2008 10:22:09 -0500, Scott Ford <[EMAIL PROTECTED]> wrote:
>
>Mark you were correct , but I had to issue a $DI,L=Z
>
In case it wasn'
On Fri, 7 Nov 2008 10:22:09 -0500, Scott Ford <[EMAIL PROTECTED]> wrote:
>
>Mark you were correct , but I had to issue a $DI,L=Z
>
In case it wasn't obvious, the OP's JES2 command character is a forward
slash (/), not a US dollar sign ($): /DI,L=Z.
Mark
--
Mark Zelden
Sr. Software and Systems A
Any other use of the email by you is prohibited.
-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Mark Zelden
Sent: Friday, November 07, 2008 8:50 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: how to write sysrexx
On Fri, 7 Nov 2008 17:34:03 +0800,
mail by you is prohibited.
-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Mark Zelden
Sent: Friday, November 07, 2008 8:50 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: how to write sysrexx
On Fri, 7 Nov 2008 17:34:03 +0800, Tommy Tsui <[EMAIL PR
yes...it works...after add "L=Z"thanks
On Fri, Nov 7, 2008 at 9:50 PM, Mark Zelden <[EMAIL PROTECTED]>wrote:
> On Fri, 7 Nov 2008 17:34:03 +0800, Tommy Tsui <[EMAIL PROTECTED]> wrote:
>
> >I checked the result, it only can show up the first 4 lines statement,
> >INIT(1), even the AXRCMD run s
On Fri, 7 Nov 2008 17:34:03 +0800, Tommy Tsui <[EMAIL PROTECTED]> wrote:
>I checked the result, it only can show up the first 4 lines statement,
>INIT(1), even the AXRCMD run successfully. I also try "/DI(1-2)", the
>result is also 4.
>
>CMDRESULT=AXRCMD('/DI(1-2)','OUTPUTVAR.',100);
> SAY OUTPUTV
Here is the sysrexx
CMDRESULT=AXRCMD('/DI(1-2)','OUTPUTVAR.',1);
ACTIVE=0
DRAINED=0
INACTIVE=0
IF CMDRESULT =0 THEN
DO
SAY OUTPUTVAR.0
DO C = 1 TO OUTPUTVAR.0
STATUS = SUBSTR(WORD(OUTPUTVAR.C,3),8,6)
SAY STATUS
IF STATUS = 'ACTIVE' THEN
ACTIVE = ACTIVE + 1
ELSE IF ST
On Fri, 7 Nov 2008 17:34:03 +0800, Tommy Tsui <[EMAIL PROTECTED]> wrote:
>I checked the result, it only can show up the first 4 lines statement,
>INIT(1), even the AXRCMD run successfully. I also try "/DI(1-2)", the
>result is also 4.
>
>CMDRESULT=AXRCMD('/DI(1-2)','OUTPUTVAR.',100);
> SAY OUTPUTV
D] or [EMAIL PROTECTED], and then delete the
>> original. Any other use of the email by you is prohibited.
>>
>>
>> -Original Message-
>> From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
>> Behalf
>> Of Tommy Tsui
>> Sent: Thurs
> [EMAIL PROTECTED] or [EMAIL PROTECTED], and then delete the
> original. Any other use of the email by you is prohibited.
>
>
> -Original Message-
> From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
> Behalf
> Of Tommy Tsui
> Sent: Thursday, Nov
[mailto:[EMAIL PROTECTED] On Behalf
Of Tommy Tsui
Sent: Thursday, November 06, 2008 11:46 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: how to write sysrexx
the output here:
how come the outputvar.0 is 4.
AXR0500I AXREXX OUTPUT DISPLAY 562
EXECNAME=INITINFO REQTOKEN=4000C342864620BCAB4E
4
L PROTECTED] or [EMAIL PROTECTED], and then delete the
original. Any other use of the email by you is prohibited.
-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Tommy Tsui
Sent: Thursday, November 06, 2008 11:05 PM
To: IBM-MAIN@BAMA.UA.EDU
Su
Tommy Tsui wrote:
I try to count the current init status but failed with the AXRCMD.?
anything wrong?
CMDRESULT=AXRCMD('/DI','OUTPUTVAR.',100);
It could be any number of things. First of all, AXRCMD is not a
REXX function, so you need to tell it where to find it. You may
need to define i
u is prohibited.
>
> -Original Message-
> From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
> Behalf
> Of Tommy Tsui
> Sent: Thursday, November 06, 2008 11:05 PM
> To: IBM-MAIN@BAMA.UA.EDU
> Subject: Re: how to write sysrexx
>
> Hi,
> I try to
[mailto:[EMAIL PROTECTED] On Behalf
Of Tommy Tsui
Sent: Thursday, November 06, 2008 11:05 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: how to write sysrexx
Hi,
I try to count the current init status but failed with the AXRCMD.?
anything wrong?
CMDRESULT=AXRCMD('/DI','OUTPUTVAR.',
Hi,
I try to count the current init status but failed with the AXRCMD.?
anything wrong?
CMDRESULT=AXRCMD('/DI','OUTPUTVAR.',100);
SAY OUTPUTVAR.0
c = 0
do c = 1 to OUTPUTVAR.0
status = substr(word(OUTPUTVAR.c,3),8,6)
say status
active=0
drained=0
inactive=0
if sta
Thanks, after I delcare active=0, it works fine
On Fri, Nov 7, 2008 at 10:46 AM, Scott Fagen <[EMAIL PROTECTED]>wrote:
> On Fri, 7 Nov 2008 10:32:56 +0800, Tommy Tsui <[EMAIL PROTECTED]> wrote:
>
> >hi all
> >
> >Is there any book teach how to write a correct SYSREXX, how comes a bad
> >arithmet
On Fri, 7 Nov 2008 10:32:56 +0800, Tommy Tsui <[EMAIL PROTECTED]> wrote:
>hi all
>
>Is there any book teach how to write a correct SYSREXX, how comes a bad
>arithmetic conversion with "active = active + 1".any problem here???
>
> RESPONSE=XXTSPD2
> AXR0500I AXREXX OUTPUT DISPLAY 530
> EXECNA
hi all
Is there any book teach how to write a correct SYSREXX, how comes a bad
arithmetic conversion with "active = active + 1".any problem here???
RESPONSE=XXTSPD2
AXR0500I AXREXX OUTPUT DISPLAY 530
EXECNAME=INITINFO REQTOKEN=4000C34272CC59FE94C9
ACTIVE
6 +++ act
27 matches
Mail list logo