IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

To check PROFILE of associated TSO ID


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
geet16

New User


Joined: 22 Dec 2006
Posts: 24
Location: USA

PostPosted: Tue Feb 05, 2008 6:32 pm
Reply with quote

Hi,

We working on changing the TSO ID for our mainframe application. Earlier using TSO ID, we were able to identify user and developer and accordingly execute CLIST which in turn directs to PROPER SETUP
PROCEDURE.

Now using new TSOID, we can't differentiate if the individual loggin is user or developer. So, is there any way i can get their profile?

Please let me know your thoughts.

TIA

Regards
Geet
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Feb 05, 2008 6:37 pm
Reply with quote

why not use the racf primary group to identify the group ??
Back to top
View user's profile Send private message
geet16

New User


Joined: 22 Dec 2006
Posts: 24
Location: USA

PostPosted: Tue Feb 05, 2008 6:54 pm
Reply with quote

Hi,

We aren't getting much information about RACF from client side. Hence we are looking out for some other work around.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Feb 05, 2008 7:19 pm
Reply with quote

You can use this approach
go thru the stem and parse accordingly


Code:
****** ***************************** Top of Data ******************************
000001 /*REXX - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
000002 /*                                                                   */
000003 /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
000004 Trace "O"
000005 _rc  = outtrap("lu.")
000006 Address TSO "LU"
000007 _rc  = outtrap('off')
000008 do i = 1 to lu.0
000009     say right(i,2) lu.i
000010 End
000011 Exit
****** **************************** Bottom of Data ****************************



or

Code:
****** ***************************** Top of Data ******************************
000001 /* REXX */
000002 Numeric Digits 20
000003 cvt = Storage(10,4)
000004 cvtasvt = Storage(D2x(C2d(cvt)+556),4)
000005 ascbadd = Storage(D2x(C2d(cvtasvt)+532),4)
000006 ascbasxb = Storage(D2x(C2d(ascbadd)+108),4)
000007 asxbsenv = Storage(D2x(C2d(ascbasxb)+200),4)
000008 aceefcgp = Storage(D2x(C2d(asxbsenv)+116),4)
000009 cgrplen = Storage(D2x(C2d(aceefcgp)+5),3)
000010 cgrplen = C2d(cgrplen)
000011 cgrp = Storage(D2x(C2d(aceefcgp)+32),(cgrplen-32))
000012 groups = ''
000013 Do loop = 1 to cgrplen by 24
000014 groups = groups||' '||Strip(Substr(cgrp,loop,8))
000015 Say groups
000016 end
****** **************************** Bottom of Data ****************************


or

http://www.herbpayne.com/2007/04/story/herbpayne/rexx-parse-racf-lu
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts How to check whether who renamed the ... JCL & VSAM 3
No new posts No ++JCLIN, APPLY CHECK job JCL & VSAM 1
No new posts EMPTY file check scenario JCL & VSAM 6
Search our Forums:

Back to Top