Greetings All, 

I have designed a REXX to invoke SDSF and SET CONSOLE name automatically to a 
random value as follows, 

/* REXX */                                                    
CONNAM="SDSF"RANDOM()                                         
ADDRESS ISPEXEC "SELECT PGM(ISFISP) NEWAPPL(ISF) SCRNAME(SDSF)
                 PARM(SET CONSOLE &CONNAM)"                   

When I execute this REXX, it works fine and every time it's invoked, I get a 
random console value. 

I thought of adding it to ISPF panels with CMD to execute above REXX.  It works 
fine for the first time and I get a random console value. However, when I 
access it from split screen (second screen) the same random console value is 
shared. Looks like the SET CONSOLE command is not executed when accessed from 
ISPF panel. 

Any help to fix this issue and get the REXX work under ISPF? 

Thanks,

!! Shri !!


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to