IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Mass copy of a pds


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Tue Mar 12, 2013 8:09 pm
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Tue Mar 12, 2013 8:26 pm
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: 2455
Location: Hampshire, UK

PostPosted: Tue Mar 12, 2013 11:42 pm
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

Superior Member


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

PostPosted: Wed Mar 13, 2013 1:14 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed Mar 13, 2013 1:26 pm
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

Superior Member


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

PostPosted: Wed Mar 13, 2013 4:00 pm
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
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: 1249
Location: Richfield, MN, USA

PostPosted: Thu Jun 27, 2013 10:38 am
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: 1788
Location: Bloomington, IL

PostPosted: Thu Jun 27, 2013 8:52 pm
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

Moderator Emeritus


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

PostPosted: Fri Jun 28, 2013 2:07 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts Need COBOL COPY Help in MVS Environment COBOL Programming 4
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
No new posts DB2 Table - Image copy unload IBM Tools 2
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
Search our Forums:

Back to Top