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

JCL to purge userID


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
iknow

Active User


Joined: 22 Aug 2005
Posts: 411
Location: Colarado, US

PostPosted: Fri Jan 27, 2006 10:33 pm
Reply with quote

Hi,

I need a JCL to purge userID.


Can anyone help me out regarding this issue.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Sat Jan 28, 2006 3:00 am
Reply with quote

Are you trying to issue the MVS command 'C U,U=userid'?
Back to top
View user's profile Send private message
iknow

Active User


Joined: 22 Aug 2005
Posts: 411
Location: Colarado, US

PostPosted: Sat Jan 28, 2006 6:19 pm
Reply with quote

Hi Superk,

Yes. Whether that functionality can be achieved through JCL.



Please correct me if I am wrong.
Back to top
View user's profile Send private message
iknow

Active User


Joined: 22 Aug 2005
Posts: 411
Location: Colarado, US

PostPosted: Tue Jan 31, 2006 8:22 am
Reply with quote

Hi Superk,

Thanks for your reply.

I have tried writing a JCL to purge ID and to my surprise it works fine.

Code:

//PURGEID JOB (sss1234),MSGCLASS=O,NOTIFY=&SYSUID,                   
// TIME=
(,01),USER=SMKKWRT,PASSWORD=way2hell                           
//*                                                                   
//BATCH   EXEC PGM=SDSF,DYNAMNBR=150,REGION=1024K,TIME=5               
//ISFOUT   DD  SYSOUT=*                                               
//ISFIN    DD  *                                                       
OWNER SMKKWRT                                                         
ST SMKKWRT                                                             
FIND 'SMKKWRT'                                                         
++P                                                                     
ST                                                                     
/*                                                                     



Whether the above JCL have any impact wrt system.

Please correct me if I am wrong.
Back to top
View user's profile Send private message
iknow

Active User


Joined: 22 Aug 2005
Posts: 411
Location: Colarado, US

PostPosted: Sat Feb 11, 2006 1:27 pm
Reply with quote

this works
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts JCL JOB Cancel/Purge Not Working JCL & VSAM 6
No new posts Purge CICS transaction after a time l... CICS 14
No new posts RACF- How to find the Last access of ... All Other Mainframe Topics 7
No new posts The same REXX program doesnt work for... CLIST & REXX 5
No new posts Adding a userid to SMTP Security table JCL & VSAM 1
Search our Forums:

Back to Top