But I am getting error message on the line where I am giving SCRNAME syntax.
Below is my code
/* REXX */
TRACE I
"ISREDIT MACRO"
"ISREDIT (DSN) = DATASET"
"ISREDIT (DSM) = MEMBER"
"ISPEXEC SCRNAME(DSM)"
SAY DSN
SAY DSM
if I submit this rexx in my ISPF view screen in my pds - test.mypds.rexx(sample)..so I am expecting my scrname for this window should change to sample.
Below is the error message I am getting on submitting above code
******************************************************************************
* ISPS100 *
* *
* Invalid service name *
* 'SCRNAME(DSM)' exceeds the allowable length of 8. *
* *
* *
* *
* *
* *
* *
* Current dialog statement: *
* SCRNAME(DSM) *
* *
* Enter HELP command for further information regarding this error. *
* Press ENTER key to terminate the dialog. *
* *
* *
* *
* *
Please let me know where I am getting wrong.Thanks in advance.