Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8165
Location: East Dubuque, Illinois, USA

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: 6968
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: 6968
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: 6968
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 Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us