Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
JCL to purge userID

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
iknow

Active User


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

PostPosted: Fri Jan 27, 2006 10:33 pm    Post subject: JCL to purge userID
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

Moderator Team Head


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

PostPosted: Sat Jan 28, 2006 3:00 am    Post subject: Re: JCL to purge userID
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: 413
Location: Colarado, US

PostPosted: Sat Jan 28, 2006 6:19 pm    Post subject: Re: JCL to purge userID
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: 413
Location: Colarado, US

PostPosted: Tue Jan 31, 2006 8:22 am    Post subject: Re: JCL to purge userID
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: 413
Location: Colarado, US

PostPosted: Sat Feb 11, 2006 1:27 pm    Post subject: Re: JCL to purge userID
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Adding a userid to SMTP Security table Yolanda Harvey JCL & VSAM 1 Sun Aug 13, 2017 6:16 pm
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
No new posts userid checking from client MQ hkalhor Java & MQSeries 2 Sat Jun 28, 2014 2:43 pm
No new posts Need to Purge a DB2 Table GauravKudesiya DB2 14 Wed Nov 06, 2013 11:45 pm
No new posts Find the USERID in CICS Web Support A... jobin thomas CICS 2 Tue Apr 09, 2013 1:19 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us