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

How to rename the tape files?


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

PostPosted: Mon Jun 09, 2008 1:59 pm
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

Superior Member


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

PostPosted: Tue Jun 10, 2008 5:32 pm
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

Moderator Emeritus


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

PostPosted: Tue Jun 10, 2008 9:20 pm
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: 1287
Location: Chennai, India

PostPosted: Wed Jun 11, 2008 4:23 am
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: 1702
Location: Australia

PostPosted: Wed Jun 11, 2008 5:01 am
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

Superior Member


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

PostPosted: Wed Jun 11, 2008 12:01 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10886
Location: italy

PostPosted: Wed Jun 11, 2008 12:07 pm
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

Superior Member


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

PostPosted: Wed Jun 11, 2008 1:08 pm
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

Superior Member


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

PostPosted: Wed Jun 11, 2008 2:28 pm
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
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

Moderator Emeritus


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

PostPosted: Sun Jun 15, 2008 9:00 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts 3 files concatenated to 1 DFSORT/ICETOOL 2
No new posts JCL sort to compare dates in two file... DFSORT/ICETOOL 2
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files and write Matched/Unm... JCL & VSAM 8
No new posts Write line by line from two files DFSORT/ICETOOL 7
Search our Forums:

Back to Top