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
 
Need to Know about files writing on Tapes.

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

New User


Joined: 25 Nov 2010
Posts: 70
Location: Sivakasi, India

PostPosted: Tue Dec 28, 2010 11:32 pm    Post subject: Need to Know about files writing on Tapes.
Reply with quote

Hi

This question is in general. Please excuse if u feel it is not jcl related.
But i have this doubt for some days. Can we write files directly on Tapes? If it can be done, do we need to use any utility for that. Also i am told that the files in DASD will automatically be migrated to TAPE after certain period of time if we dont use them at all. When we want to use them again, it just restores them on the DASD. Is it possible to view the contents of TAPE files without restoring back it to DASD ?

Also if there is any related material to know about this please suggest me.


Thanks in advance!
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8154
Location: East Dubuque, Illinois, USA

PostPosted: Tue Dec 28, 2010 11:40 pm    Post subject:
Reply with quote

If your JCL has an output DD name that points to a tape with the correct (for your site -- some parameters can be site-specific) values, the data will be written to the tape. No utility is required as the operating system understands how to write tapes.

Files on DASD automatically migrating to tape is an archive process, typically done under the control of HSM or other storage management utility. The archived data on tape cannot be directly read and understood since it is compressed to save space. Typically, archive tapes are handled differently than data tapes written by an application.

However, if your program writes data to a tape, you can use a utility such as IDCAMS or IEBGENER to print the data on tape.
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: Wed Dec 29, 2010 12:08 am    Post subject:
Reply with quote

Hello,

Your topic has been relocated to the SMS & VSAM part of the forum.

The original post mentions JCL, but was posted in the COBOL part of the forum. I believe this part of the forum may be more suited. If you'd like to have this moved, just post a reply.

When working with data on tape, keep in mind that data from tape usually must be copied (entirely or in part) to dasd to be worked with online. Batch jobs can read data tapes (rather than backup/archive volumes) directly.
Back to top
View user's profile Send private message
sureshmurali
Warnings : 1

New User


Joined: 25 Nov 2010
Posts: 70
Location: Sivakasi, India

PostPosted: Wed Dec 29, 2010 12:43 am    Post subject:
Reply with quote

Yes Dick. I need to move this to the respective forum. Please kindly move.
Thanks.
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 Dec 29, 2010 5:13 pm    Post subject:
Reply with quote

These links might interest you:

http://ibmmainframes.com/about26800.html
http://www.ibmmainframes.com/viewtopic.php?t=46621&highlight=tape
http://www.3480-3590-data-conversion.com/article-mainframe-tape-details.html
Back to top
View user's profile Send private message
Pete Wilson

Active User


Joined: 31 Dec 2009
Posts: 446
Location: London

PostPosted: Fri Dec 31, 2010 7:18 pm    Post subject:
Reply with quote

Suggest you talk to your Storage pr System Programmers as typically there are certain UNIT names or DATACLAS names to code in the JCL when you want to write to TAPE and these are site specific.

Remember that TAPE files are always Sequential.

Once a dataset is written to tape and cataloged you can just reference it by the tape dataset name and DISP=OLD. If it is not cataloged you have to code the VOLSER and UNIT name as well as dsname to be able to access it.

Be careful that you specify the correct EXPDT in the JCL as this can affect the way the tape file is retained (or not) in the Tape Management System.

For DASD datasets migrated by DFHSM or FDRABR type products you only have to try and open the file and that will invoke DFHSM to recall the file from archive back to DASD after which you can access it as normal.
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 Comparing 2 Files using Current time arunsoods DFSORT/ICETOOL 2 Fri Sep 22, 2017 6:00 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts Join records from 2 files with No Dup... Poha Eater DFSORT/ICETOOL 21 Sun Aug 27, 2017 10:35 pm
No new posts Match two files using multiple keys a... santoshks1987 SYNCSORT 11 Fri Aug 18, 2017 10:50 am
No new posts Multiple VSAM files single output fil... Mohan Kothakota DFSORT/ICETOOL 11 Wed Aug 09, 2017 7:57 pm

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