| N Benson 2004-09-28, 3:55 am |
| 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??????
|