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

All about TAPE file


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
skrishnavijay

New User


Joined: 26 Sep 2007
Posts: 25
Location: chennai

PostPosted: Fri Dec 14, 2007 1:42 pm
Reply with quote

Hi,

1. I want to take a backup of a DASD file into a TAPE file .

2. Since my input file has millions of records, I need to write Output into a TAPE file to avoid space problem. So I need to create a TAPE file and use the same as REXX output file.

Could you help me in doing the same ?

Thanks in advance,
Krishna
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Dec 14, 2007 1:49 pm
Reply with quote

A tape file is nothing but a standard sequential file...
speak with Your "operations support" about tape usage standards
and ....

But.. just a question...
You spoke about taking a backup,
Do You realize that there are utilities, to do that,
much more efficient as far as
speed... optimized I/O processing
space... compressing the data

REXX should not really be the first choice to process, as You say,
millions of records !
Back to top
View user's profile Send private message
skrishnavijay

New User


Joined: 26 Sep 2007
Posts: 25
Location: chennai

PostPosted: Fri Dec 14, 2007 2:02 pm
Reply with quote

Thanks for quick turn enrico.

If you have any Utility/Program for creating/processing a TAPE file, Please provide me.

Thanks in advance,
Krishna
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Dec 14, 2007 2:17 pm
Reply with quote

Not a problem...

...DFSSS for just storing on tape ( not processable format )
the only thing You can do is a restore to disk

...SORT ( any flavor ) to copy tha dataset to a "SEQUENTIAL" dataset
which can later on be processed by any program capable of dealing
with PS dataset

still You better speak with "operations" or "storage" support to explain
Your need and find out a solution suitable for Your environment

Remember when we answer posts we just share experiences coming
from different backgrounds and environments and not alway they fit
the O/P environment and standard practices
Back to top
View user's profile Send private message
skrishnavijay

New User


Joined: 26 Sep 2007
Posts: 25
Location: chennai

PostPosted: Fri Dec 14, 2007 5:38 pm
Reply with quote

Hi,

I am able to copy a DASD/TAPE file to a TAPE file using SORT, but how to create a TAPE file without copying ?

Thanks in advance,
Krishna
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Fri Dec 14, 2007 5:45 pm
Reply with quote

TAPE or DASDs are media to keep your files, you don't create them (DASD/TAPE), you just give UNIT=whatever in DCB of files...or perhaps I didn't understand this..
Quote:
how to create a TAPE file without copying
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Dec 14, 2007 5:54 pm
Reply with quote

Quote:
but how to create a TAPE file without copying ?

As I wrote in my first reply ...
Quote:
A tape file is nothing but a standard sequential file...


any program designed to write to a PS file,
can , if the jcl has been properly written,
write to a dataset residing on TAPE rather then on DISK

the GENERAL logic of any DATA PROCESSING program
is always the same

obtain data from some media/physical_support
carry on some transformation on the data read
transfer data to some other media/physical_support

P.S. ( even if before the signature )
I do not remember the source, but You should
consider that in any application
( with the exception of a few numeric intensive ones )
more than 96% of the CPU time
is just spent in .... MOVING THINGS AROUND
not doing computations in se
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Dec 15, 2007 12:27 am
Reply with quote

Hi Krishna,

I'm not sure I understand:
Quote:
So I need to create a TAPE file and use the same as REXX output file.

Do you want to put a 2nd file on the tape?

P.S. Back in the dayze you could also demount a disk drive. Now, as far as I know, all mainframe disk is permenantly mounted.
Back to top
View user's profile Send private message
Aaru

Senior Member


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

PostPosted: Sat Dec 15, 2007 9:28 pm
Reply with quote

skrishnavijay,

Quote:
how to create a TAPE file without copying


You can create a TAPE file as if you are creating a new sequential file. Please mention the UNIT while specifying the DCB parameters. We usually mention UNIT=TAPE to create a tape dataset.
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 Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top