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 successfully. I also try "/DI(1-2)", the
> >result is also 4.
> >
> >CMDRESULT=AXRCMD('/DI(1-2)','OUTPUTVAR.',100);
> > SAY OUTPUTVAR.0
> >
> >/DI(1-2)
> >/HASP892 INIT(1) 903
> >/HASP892 INIT(1)   STATUS=ACTIVE,
> >/HASP892           CLASS=DAFJKLMNTHUEWXYZQV123456789,NAME=1,
> >/HASP892           ASID=002B,JOBID=JOB06877
> >/HASP892 INIT(2) 904
> >/HASP892 INIT(2)   STATUS=INACTIVE,
> >/HASP892           CLASS=DAFJKLMNTHUEWXYZQV123456789,NAME=2,
> >/HASP892           ASID=002C
> >AXR0500I AXREXX OUTPUT DISPLAY 905
> >EXECNAME=INITINFO REQTOKEN=0000400000000000C342CF5A03BB7886
> >On Fri, Nov 7, 2008 at 4:33 PM, Tommy Tsui <[EMAIL PROTECTED]> wrote:
> >
> >> I already try this before, but it does not works and return only 4
> lines,
> >> when I changed the '/DI' to 'D U,,,480', it works fine. So I don't know
> any
> >> differences between MVS & JES2 command returned from AXRCMD?
> >>
> >> CMDRESULT=AXRCMD('/DI','OUTPUTVAR.',100);
> >>  SAY OUTPUTVAR.0
> >>
>
>
>
>
> Try issuing your command like this:    '/DI,L=Z'
>
> CMDRESULT=AXRCMD('/DI,L=Z','OUTPUTVAR.',100)
>
> Mark
> --
> Mark Zelden
> Sr. Software and Systems Architect - z/OS Team Lead
> Zurich North America / Farmers Insurance Group - ZFUS G-ITO
> mailto:[EMAIL PROTECTED]
> z/OS Systems Programming expert at
> http://expertanswercenter.techtarget.com/
> Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.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
>
>

----------------------------------------------------------------------
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

Reply via email to