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
 

 

How to rename the tape files?

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

New User


Joined: 19 Dec 2007
Posts: 6
Location: Pune

PostPosted: Mon Jun 09, 2008 11:17 am    Post subject: How to rename the tape files?
Reply with quote

Hi
I have to rename the tape files,those files are big (i.e. using 10 tapes) .
I tried to copy the files to DASD however getting the space issues.
Is there anyway so that I can rename the tape files.?

Regards,
Unmesh
Back to top
View user's profile Send private message

gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Mon Jun 09, 2008 1:59 pm    Post subject:
Reply with quote

Hi,
tape datasets cannot be renamed without copying the contents to another file.

You say copying the files to DASD is causing space issues, why not copy to tape ?


Gerry
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Tue Jun 10, 2008 5:32 pm    Post subject:
Reply with quote

Hi,
Quote:
You say copying the files to DASD is causing space issues, why not copy to tape ?
And how do you copy, using file-aid ? if yes that would not work, instead use some utility such as SORT, give the desired DSN name in SORTOUT.
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: Tue Jun 10, 2008 9:20 pm    Post subject:
Reply with quote

Hi Anuj,

Quote:
And how do you copy, using file-aid ? if yes that would not work
Why will this not work? Can file-aid not copy one qsam file to another?
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Wed Jun 11, 2008 4:23 am    Post subject: Reply to: How to rename the tape files?
Reply with quote

Anuj,

Quote:
And how do you copy, using file-aid ?


You can also copy it using IEBGENER.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Wed Jun 11, 2008 5:01 am    Post subject:
Reply with quote

Hi Anuj,
I think you better explain what you are on about,

I quoted
Quote:
You say copying the files to DASD is causing space issues, why not copy to tape ?


Now that seemed quite a reasonable reply.


Your reply to the above
Quote:
And how do you copy, using file-aid ? if yes that would not work, instead use some utility such as SORT, give the desired DSN name in SORTOUT.


There was no mention of which utility or program to use so I have no idea how this applies to my reply.

There are many utilities you can use to copy files such as FILEAID SORT IDCAMS IEBGENER DFDSS SAS etc.

Gerry
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 Jun 11, 2008 12:01 pm    Post subject:
Reply with quote

Hi Dick,
Quote:
Why will this not work? Can file-aid not copy one qsam file to another?
It does but if file is on DASD, I tried file-aid option F;3;3 to copy a tape file; I got the following message:
Code:
DATASET NOT ON DASD
and COPY was not allowed.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10232
Location: italy

PostPosted: Wed Jun 11, 2008 12:07 pm    Post subject: Reply to: How to rename the tape files?
Reply with quote

usually on any decent product ( even if supporting tapes )
interactive tape operations are not allowed for general use
how nice... a tso user sitting at his desk waiting for the operator to come back from the coffee break to mount his tape

also the TSO users are defined with the NOMOUNT attribute
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 Jun 11, 2008 1:08 pm    Post subject:
Reply with quote

Hi Gerry,

Quote:
There was no mention of which utility or program to use so I have no idea how this applies to my reply.
I shuold have quoted this
Quote:
I tried to copy the files to DASD however getting the space issues.

in my previous post (fisrt post of mine in this thread).

Apologies .. icon_redface.gif
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 Jun 11, 2008 2:28 pm    Post subject: Re: Reply to: How to rename the tape files?
Reply with quote

Hi,
Aaru wrote:
You can also copy it using IEBGENER.
Any utility which has COPY capabilities can be used.
Back to top
View user's profile Send private message
unmesh33

New User


Joined: 19 Dec 2007
Posts: 6
Location: Pune

PostPosted: Sun Jun 15, 2008 8:42 am    Post subject: Reply to: How to rename the tape files?
Reply with quote

Hi,
Thanks everyone for helping me in this.
However Whenever I am trying to copy the the files I am getting the message 'Exceeded the allowed space limit'.
I am trying to copy this using IEBGENER utility.
I agree by using other utilities we can copy the files, however my question is there any limitation for IEBGENER to copy the the tape files to DASD and also what is the maximum limit for TRK/CLY that we can give to copy any huge file to DASD?

Regards,
Bhushan
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: Sun Jun 15, 2008 9:00 am    Post subject:
Reply with quote

Hello,

The utility used is not your problem. The volume of data is your problem. You will have the exact same space problem with various utilities.

If you want to copy the data on the tape(s), copy from tape to tape, not tape to dasd.

Quote:
what is the maximum limit for TRK/CLY that we can give to copy any huge file to DASD
Talk with your storage management people. They can tell you the maximum you can have. They will most likely not provide the amount of space you want.
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 Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 3 Fri Dec 09, 2016 10:57 pm
No new posts High CPU consumption Job using IAM fi... aswinir JCL & VSAM 15 Thu Dec 01, 2016 8:28 pm
No new posts Match or compare two files in VB Format anatol DFSORT/ICETOOL 14 Thu Nov 03, 2016 7:41 pm
No new posts Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm


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