Does the USERID need only appear somewhere in the DSN?  If so, how about
adding a "dummy" DD allocation in the TSO LOGON PROC (or in the TSO LOGON
CLIST/EXEC) with a DSN=&&BLAHBLAH (temporary DSN - NEW,DELETE default) which
will yield a dataset creation of:

SYSyyddd.Thhmmss.RA000.userid.BLAHBLAH.H03


Here's the DD I used:

//DD0      DD   UNIT=SYSDA,SPACE=(TRK,0),DSN=&&BLAHBLAH 


So, the USERID is in the 4th DSNODE - always guaranteed.

Sincerely,

Scott Barry
SBBWorks, Inc.

On Fri, 12 Aug 2005 09:49:49 -0400, Earnie Allen
<[log in to unmask]> wrote:

>Is there a way to pick up the TSO userid [&sysuid] during logon and utilize
>it in the specific TSO logon proc being used?
>
>I would like to use it as part of a DSN which I would like to be able to
>create during logon and go away at logoff --- a monitoring-type dataset.
>
>Thanks!
>
>
>Earnie Allen
>Senior Systems Programmer
>MVS Systems Software
>WORLDSPAN, LP
>Phone: 404-322-2700  FAX: 404-322-4653
>E-Mail:  [log in to unmask]
>
>Remember: It takes teamwork to make the dream work.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to