Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Mass copy of a pds

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

New User


Joined: 14 Apr 2009
Posts: 10
Location: chennai

PostPosted: Tue Mar 12, 2013 8:01 pm    Post subject: Mass copy of a pds
Reply with quote

Hi,

I got one difficult situation, I have to rename all the PDS prefix with TPX-ID.**.** to MYTPX-ID.**.** in one shot. I cant even rename the files as info security has revoked the TPX-id... Please help.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Tue Mar 12, 2013 8:09 pm    Post subject: Reply to: Mass copy of a pds
Reply with quote

Quote:
I cant even rename the files as info security has revoked the TPX-id... Please help.



help to do what...
asking this kind of questions on a forum is a waste of time for everybody

if Your security monkeys have deleted something and that prevents You from doing what You are supposed to
talk to Your support and Your <command> line

can You read them at least ...

in that case You can used DFDSS to copy them and rename them to the new pattern

( search the forum for the relevant examples/jcl snippets )
Back to top
View user's profile Send private message
kvamsy

New User


Joined: 14 Apr 2009
Posts: 10
Location: chennai

PostPosted: Tue Mar 12, 2013 8:19 pm    Post subject: Re: Reply to: Mass copy of a pds
Reply with quote

enrico-sorichetti wrote:
Quote:
I cant even rename the files as info security has revoked the TPX-id... Please help.



help to do what...
asking this kind of questions on a forum is a waste of time for everybody

if Your security monkeys have deleted something and that prevents You from doing what You are supposed to
talk to Your support and Your <command> line


Apologies for not completing the question properly earlier.

I am getting an error while trying to rename as security team has revoked the access for that TPX-id as mentioned earlier. I am using IEBCOPY to copy individual PDS to my PDS. Is there any way to rename all the files(PDS) prefixed with TPXid.**.** to with mytpx-id.**.**
as prefix using JCL at a shot.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Tue Mar 12, 2013 8:26 pm    Post subject: Reply to: Mass copy of a pds
Reply with quote

Quote:
I am getting an error while trying to rename as security team has revoked the access for that TPX-id as mentioned earlier. I am using IEBCOPY to copy individual PDS to my PDS. Is there any way to rename all the files(PDS) prefixed with TPXid.**.** to with mytpx-id.**.**
as prefix using JCL at a shot.


we are getting into a loop here ...
if You cannot rename them one by one for what reason You believe that You will be able to do a MASS rename ..

reread my previous post about using dfdss to copy/rename them ( IN ONE SHOT )
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1717
Location: UK

PostPosted: Tue Mar 12, 2013 11:42 pm    Post subject:
Reply with quote

If your security people have revoked your access then your access is revoked. Why did they revoke it? Because you should not have it? In that case you should not be trying to do what you are doing and persisting will just lead to your employment being terminated. If there is stuff there that you have a legitimate need for then speak to your manager. But we cannot help you get fired.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Mar 13, 2013 1:14 pm    Post subject:
Reply with quote

kvamsy - Did you mean "rename" or "copy"? They are two different animals.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Wed Mar 13, 2013 1:26 pm    Post subject: Reply to: Mass copy of a pds
Reply with quote

the TS is/was stubbornly stuck on the rename
never considered my suggestion to copy
( and he/she has read access )
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Mar 13, 2013 4:00 pm    Post subject:
Reply with quote

How I see the request from OP is -- "TPX-ID" (RCAF-ID, log-in ID ...?) no longer exist on the system and they are trying to get rid of the left over stuff from this ID; appraently, rename won't work... icon_eek.gif
Back to top
View user's profile Send private message
Dale Robertson

New User


Joined: 21 Jun 2013
Posts: 44
Location: U.S.A.

PostPosted: Tue Jun 25, 2013 7:43 pm    Post subject: RACF
Reply with quote

kvamsy,

Did you solve your problem? Just curious.

r

"Are you familiar with Occam's Razor?"
--James Woods - Contact
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1238
Location: Richfield, MN, USA

PostPosted: Thu Jun 27, 2013 10:38 am    Post subject:
Reply with quote

I realize this is an old thread, but before leaving a contract, I would rename some of my datasets and PDSs to a HLQ that all developers had access to just to prevent this type of problem. Only with approval by my supervisor of course.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1738
Location: Bloomington, IL

PostPosted: Thu Jun 27, 2013 8:52 pm    Post subject:
Reply with quote

Terry Heinze wrote:
I realize this is an old thread, but before leaving a contract, I would rename some of my datasets and PDSs to a HLQ that all developers had access to just to prevent this type of problem. Only with approval by my supervisor of course.

The problem is that some people depart on rather short notice; even they don't know that they're about to leave... icon_evil.gif
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Jun 28, 2013 2:07 am    Post subject:
Reply with quote

Way too often, i was the one that followed . . .

It is wonderful being the new guy and the crisis du'jour needs "stuff" from the recently departed . . . icon_rolleyes.gif

Of course, you don't even have an id/pwd yet, let alone know about what "Fred" had done.

d
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 syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm
No new posts dataset copy question - REPRO or some... atulxp TSO/ISPF 2 Wed Aug 03, 2016 10:56 pm
No new posts How to copy Tape dataset to unix main... chaky All Other Mainframe Topics 4 Fri Jul 08, 2016 2:52 am
No new posts Using Field names in FILEAID Batch CO... Atul Banke Compuware & Other Tools 2 Wed Jun 29, 2016 9:54 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us