Hi...rexx guys,
Is it possible to list all userid present in lpar...I mean from superior group .......in rexx ....
Thanks,
parthiban j
rexx-list all userids from superior group
-
- Posts: 66
- Joined: Mon Oct 20, 2008 7:54 pm
- Skillset: REXX,JCL,RACF
- Referer: Google
- Location: Bangalore-India
- Contact:
rexx-list all userids from superior group
Parthiban jayaraman
mainframe rexxer,
Banglore
mainframe rexxer,
Banglore
- MrSpock
- Global moderator
- Posts: 809
- Joined: Wed Jun 06, 2007 9:37 pm
- Skillset: REXX, JCL, DFSORT, Syncsort, Axway MFT, Connect:Direct, FTP, SFTP
- Referer: ibmmainframes.com
- Location: Raleigh NC USA
- Contact:
Re: rexx-list all userids from superior group
If you can tell us HOW you would get this information, we can tell you if it's possible to do it within REXX.
-
- Posts: 66
- Joined: Mon Oct 20, 2008 7:54 pm
- Skillset: REXX,JCL,RACF
- Referer: Google
- Location: Bangalore-India
- Contact:
Re: rexx-list all userids from superior group
Hi...With the help of racf command we can try...Let me know if you have any other options ......But i need rexx coding
Parthiban jayaraman
mainframe rexxer,
Banglore
mainframe rexxer,
Banglore
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: rexx-list all userids from superior group
Hello,
As you progress, post any questions/problems you have here and someone will help. We are here to help you learn - not write your code for you.
Hopefully, you have already started writing some code.But i need rexx coding
As you progress, post any questions/problems you have here and someone will help. We are here to help you learn - not write your code for you.
Hope this helps,
d.sch.
d.sch.
-
- Posts: 66
- Joined: Mon Oct 20, 2008 7:54 pm
- Skillset: REXX,JCL,RACF
- Referer: Google
- Location: Bangalore-India
- Contact:
Re: rexx-list all userids from superior group
Hi..Guys,
I got a solution....Use Racf Cmd ( LU * ) to list all users in a LPAR.....
I got a solution....Use Racf Cmd ( LU * ) to list all users in a LPAR.....
Parthiban jayaraman
mainframe rexxer,
Banglore
mainframe rexxer,
Banglore
-
- Posts: 66
- Joined: Mon Oct 20, 2008 7:54 pm
- Skillset: REXX,JCL,RACF
- Referer: Google
- Location: Bangalore-India
- Contact:
Re: rexx-list all userids from superior group
Code: Select all
/*rexx*/
x1=outtrap('stem1.')
"lu *"
CNT=1
do k=1 to stem1.0
buf=stem1.k
parse var buf xv .
if xv='NONE' then
do
buf1=k+2
buf2=stem1.buf1
parse var buf2 w1 .
sub=SUBSTR(w1,6)
/* say ".." sub */
stem02.CNT=sub
CNT=CNT+1
end
end
say CNT
buf3=stem1.1
parse var buf3 xx .
sub1=substr(xx,6)
say sub1
stem02.CNT=sub1
"alloc f(out) da('r074443.ttt.ps') shr"
'execio * diskw out(stem stem02. finis'
"free f(in,out)"
Parthiban jayaraman
mainframe rexxer,
Banglore
mainframe rexxer,
Banglore
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: rexx-list all userids from superior group
Hello,
Good to hear it is working - thanks for posting your solution
Please notice that your rexx has been "Code"ed by using the bbCode tag (on the top of the reply panel). This makes your post more readable and preserves the alignment.
Good to hear it is working - thanks for posting your solution

Please notice that your rexx has been "Code"ed by using the bbCode tag (on the top of the reply panel). This makes your post more readable and preserves the alignment.
Hope this helps,
d.sch.
d.sch.
-
- Similar Topics
- Replies
- Views
- Last post
-
-
List all ControlM Conditions generic in a rexx
by jobschubse » Tue May 18, 2021 6:05 pm » in All Other Tools - 2
- 3755
-
by jobschubse
View the latest post
Wed May 19, 2021 11:29 am
-
-
-
GROUP ID FOR TTY CANNOT BE OBTAINED.
by aarvalar1 » Sun Oct 20, 2024 11:03 pm » in Mainframe Security - 2
- 1782
-
by aarvalar1
View the latest post
Tue Nov 05, 2024 9:25 pm
-
-
- 23
- 8302
-
by Devrana
View the latest post
Wed Jul 27, 2022 5:30 pm
-
- 0
- 1222
-
by stel
View the latest post
Wed Sep 21, 2022 1:06 pm
-
-
Converting universal groups to normal Racf group
by aarvalar1 » Thu May 23, 2024 10:15 pm » in Mainframe Security - 5
- 2805
-
by Robert Hansel
View the latest post
Wed Jul 24, 2024 5:12 pm
-