Need to compress and delete datasets in RACF given userid



IBM's Command List programming language & Restructured Extended Executor

Need to compress and delete datasets in RACF given userid

Postby vsevarod » Thu Jun 01, 2017 3:48 pm

Hi all,
I'm new to mainframe, how can I compress or delete perticular user's or group's datasets in RACF using JCL or REXX if i was given a user id or group id and i was authorized?

thanks in advance~
vsevarod
 
Posts: 8
Joined: Thu Jun 01, 2017 3:42 pm
Has thanked: 3 times
Been thanked: 0 time

Re: Need to compress and delete datasets in RACF given useri

Postby enrico-sorichetti » Thu Jun 01, 2017 4:16 pm

if You have to ask , it means that some idiot gave You a task well above Your competence level :mrgreen:
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3003
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Need to compress and delete datasets in RACF given useri

Postby vsevarod » Thu Jun 01, 2017 4:24 pm

enrico-sorichetti wrote:if You have to ask , it means that some idiot gave You a task well above Your competence level :mrgreen:

It seems so. How can I do that ?
vsevarod
 
Posts: 8
Joined: Thu Jun 01, 2017 3:42 pm
Has thanked: 3 times
Been thanked: 0 time

Re: Need to compress and delete datasets in RACF given useri

Postby Robert Sample » Thu Jun 01, 2017 4:49 pm

First, compress and delete are two very different operations. Compress generally applies ONLY to a PDS (partitioned data set) and removes free space holes within the PDS that arise as members are deleted and re-added (such as when a member is edited). Delete means to completely remove the data set from the system.

Second, IEBCOPY is the usual batch method to compress a PDS. ISPF 3.4 in TSO also allows a data set to be compressed.

Third, deleting data sets can be done online (ISPF 3.4) or through batch (reference the data set with DISP=(OLD,DELETE,DELETE) in the JCL).

These users thanked the author Robert Sample for the post:
vsevarod (Thu Jun 01, 2017 5:41 pm)
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: Need to compress and delete datasets in RACF given useri

Postby vsevarod » Thu Jun 01, 2017 5:41 pm

thanks
vsevarod
 
Posts: 8
Joined: Thu Jun 01, 2017 3:42 pm
Has thanked: 3 times
Been thanked: 0 time


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post