Need to compress and delete datasets in RACF given userid

IBM's Command List programming language & Restructured Extended Executor
vsevarod
Posts: 8
Joined: Thu Jun 01, 2017 3:42 pm
Skillset: null
Referer: GOOGLE

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~

enrico-sorichetti
Global moderator
Posts: 3006
Joined: Fri Apr 18, 2008 11:25 pm
Skillset: tso,rexx,assembler,pl/i,storage,mvs,os/390,z/os,
Referer: www.ibmmainframes.com

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

vsevarod
Posts: 8
Joined: Thu Jun 01, 2017 3:42 pm
Skillset: null
Referer: GOOGLE

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 ?

Robert Sample
Global moderator
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
Referer: other forum
Location: Dubuque, Iowa, USA

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).

vsevarod
Posts: 8
Joined: Thu Jun 01, 2017 3:42 pm
Skillset: null
Referer: GOOGLE

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

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

thanks


  • Similar Topics
    Replies
    Views
    Last post