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
 

 

Renaming a PS file when it is in archive status

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
srsathish

New User


Joined: 20 Feb 2007
Posts: 6
Location: Westborough, MA

PostPosted: Mon Jul 06, 2009 8:20 pm    Post subject: Renaming a PS file when it is in archive status
Reply with quote

Hello,

I have a problem like this,

For some reason the client had revoked the access for creating any files starting with the qualifier 'TEST' from last month. For eg, no one will be able to create the any files like 'TEST.AAAA.BBBB'. But there were files in the system which was created earlier, and those are getting archived now, when i'm trying to unarchive the files, IDCAMS is failing. Becoz the system is now programmed to give out jcl error if we try to allocate any files with starting qualifier as 'TEST'.

can any one help me for getting the details in the archived files, i thought of renaming it when it is in archive status itself, but it is still sumbitting unarchive job for that which is abending for the above said reason.

Thanks,
-sr
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7992
Location: Bellevue, IA

PostPosted: Mon Jul 06, 2009 8:27 pm    Post subject:
Reply with quote

Assuming you're talking about DFSMShsm, I don't think you can change the data set name during a RECALL. If you use RESTORE to copy from back up, you can change the name using the NEWNAME keyword. I'm not sure how that will work if the original data set name is no longer valid, however.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Jul 06, 2009 8:37 pm    Post subject:
Reply with quote

Code:

Oh, thin
        k
       i
      n
     g

    a
   h
  e
 a
d
were we?
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: Mon Jul 06, 2009 9:06 pm    Post subject:
Reply with quote

Hello,

Have you mentioned this to the client?

What was their response?

If you haven't spoken with the client, why not?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Jul 06, 2009 9:27 pm    Post subject:
Reply with quote

actually, my humor was directed to the poster.

maybe the client thought the consultant group was smart enough to realize that when the notice was given, that they should recall all their 'test' ds's and rename them.
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: Mon Jul 06, 2009 10:01 pm    Post subject: Reply to: Renaming a PS file when it is in archive status
Reply with quote

Yup, but now they're stuck. . . icon_confused.gif

Being proactive surely would have been better, but now that "Ah, umm, oops - we didn't rename the stuff before the rule changed" conversation needs to happen icon_wink.gif

d
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Jul 06, 2009 10:10 pm    Post subject:
Reply with quote

or regenerate the test data.

I have been part
(years ago as a junior member who had no intelligent thoughts to contribute -icon_cool.gif
of contract where the customer spent most of his time generating new operational rules which would/sometimes did make it impossible to fulfill contract obligations - thus saving money.

dirty game, consulting.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Jul 07, 2009 12:04 pm    Post subject:
Reply with quote

You can FIXCDS every rogue dsn contained in the HSM CDS's
Back to top
View user's profile Send private message
srsathish

New User


Joined: 20 Feb 2007
Posts: 6
Location: Westborough, MA

PostPosted: Wed Jul 08, 2009 3:42 pm    Post subject:
Reply with quote

Hi all,

I was able to manage this by giving a 'FREE' action in the line command.
The PDS was unarchived and i'm able to access the files inside that.

Thanks for all of your feedback.
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 1 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm


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