I'm trying to run Rexx Script from Z/OS on a text file but I get the below error
Here is my REXX code on a text file (see the uploaded 1.PNG):
/*REXX*/
SAY "RUNNING REXX SCRIPT.."
SAY ""
"ALLOCATE DATASET('"Z30583.REX.DT"') NEW SPACE(2,1) DSORG(PS) RECFM(F)",
"LRECL(80) BLKSIZE(32720)"
SAY "DONE EXECUTING REXX SCRIPT"
SAY "RUNNING REXX SCRIPT.."
SAY ""
"ALLOCATE DATASET('"Z30583.REX.DT"') NEW SPACE(2,1) DSORG(PS) RECFM(F)",
"LRECL(80) BLKSIZE(32720)"
SAY "DONE EXECUTING REXX SCRIPT"
When I execute the script on Z/OS shell I get the below error (see the uploaded 2.PNG):
FSUM7332 syntax error: got (, expecting Newline
Please assist