When you set a console name value, it is saved to the profile and becomes the 
default. My guess is that you aren't running your exec and just seeing the last 
console value set by your exec.

Don't set the console to a random value. You won't be able to see who issued 
commands in the system log. Security is difficult to create for it. 

My suggest is to use ISPF variables &ZUSER and &ZSCREEN. You don't need an 
exec. Just modify the command to PARM(SET CONSOLE &ZUSER.&ZSCREEN)

Jon Perryman.



>________________________________
> From: Yashshri G <yashshri.gawa...@gmail.com>
>
>
>
>I have designed a REXX to invoke SDSF and SET CONSOLE name automatically to a 
>random value as follows, 
>When I execute this REXX, it works fine and every time it's invoked, I get a 
>random console value. 
>
>However, when I access it from split screen (second screen) the same random 
>console value is shared. 
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to