Page 1 of 1

Need to compress and delete datasets in RACF given userid

PostPosted: Thu Jun 01, 2017 3:48 pm
by vsevarod
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~

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

PostPosted: Thu Jun 01, 2017 4:16 pm
by enrico-sorichetti
if You have to ask , it means that some idiot gave You a task well above Your competence level :mrgreen:

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

PostPosted: Thu Jun 01, 2017 4:24 pm
by vsevarod
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 ?

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

PostPosted: Thu Jun 01, 2017 4:49 pm
by Robert Sample
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).

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

PostPosted: Thu Jun 01, 2017 5:41 pm
by vsevarod
thanks