For Programmers: Free Programming Magazines  


Home > Archive > Cobol > September 2004 > Re: rexx script won't work in batch









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: rexx script won't work in batch
N Benson

2004-09-23, 3:55 pm

User99

This is a mainly friendly newsgroup -please post with your name...

REXX questions should really be posted to COMP.LANG.REXX.

But the real answer to your question probably lies in the JCL used to run you
REXX. Look at the library allocations you should have to invoke ISPF services...

If you're still having difficulties please let us know.

Regards

Nigel







On 22 Sep 2004 09:15:04 -0700, user99@austin.rr.com (user99) wrote:

>tried this script in batch and I get the following error:
>
> ZSERVER
> 6 *-* "VPUT (CNT, TP)"
> +++ RC(-3) +++
> 7 *-* "EDIT DATASET('USER99.SPF.JCL($)')
> +++ RC(-3) +++
> READY
> END
> READY
>
>my rexx script (ZSERVER):
>
>/* REXX */
>
>CNT = 1
>TP = 12345678911
>ADDRESS ISPEXEC
>"VPUT (CNT, TP)"
>"EDIT DATASET('USER99.SPF.JCL($)')
> MACRO(TSERVERM)"
>RETURN
>
>
>my job:
>//TSERVER JOB (280000,AAO,T21),MSGCLASS=0
>//*MAIN CLASS=T
>//TSOBATCH EXEC PGM=IKJEFT01
>//SYSEXEC DD DSN=USER99.SPF.REXX,DISP=SHR
>//SYSTSPRT DD SYSOUT=*
>//SYSTSIN DD *
> ZSERVER
> END
>
>ideas??????


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com