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
 

 

All about TAPE file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: All about TAPE file
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10232
Location: italy

PostPosted: Fri Dec 14, 2007 1:49 pm    Post subject: Reply to: All about TAPE file
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10232
Location: italy

PostPosted: Fri Dec 14, 2007 2:17 pm    Post subject: Reply to: All about TAPE file
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    Post subject:
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

Senior Member


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

PostPosted: Fri Dec 14, 2007 5:45 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10232
Location: italy

PostPosted: Fri Dec 14, 2007 5:54 pm    Post subject: Reply to: All about TAPE file
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    Post subject:
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: 1288
Location: Chennai, India

PostPosted: Sat Dec 15, 2007 9:28 pm    Post subject: Reply to: All about TAPE file
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    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 Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 4 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