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

To browse the information details of Tape entry


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

New User


Joined: 06 Dec 2007
Posts: 1
Location: Chennai

PostPosted: Mon Dec 10, 2007 5:06 pm
Reply with quote

I need to browse the details of tape entry.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Mon Dec 10, 2007 5:41 pm
Reply with quote

See these previous topics for suggestions:

www.ibmmainframes.com/viewtopic.php?t=26061
www.ibmmainframes.com/viewtopic.php?t=24241
www.ibmmainframes.com/viewtopic.php?t=7734
Back to top
View user's profile Send private message
ksk

Active User


Joined: 08 Jun 2006
Posts: 355
Location: New York

PostPosted: Mon Dec 10, 2007 5:52 pm
Reply with quote

Use the following STEP to execute ur requirement.

Code:

//COPYREC  EXEC PGM=SORT                                           
//SYSPRINT DD   SYSOUT=*                                           
//SYSOUT   DD   SYSOUT=*                                                               
//SORTIN   DD   DSN=YOUR.TAPE.DSN,DISP=SHR       
//SORTOUT  DD   DSN=YOUR.DASD.DSN,                       
//             DISP=(,CATLG,DELETE),                         
//             SPACE=(CYL,(10,15),RLSE)                             
//SYSIN    DD  *                                                   
  OPTION COPY                                                 
/*                                         


KSK
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Tue Dec 11, 2007 5:06 am
Reply with quote

Hello,

If the data on tape is high volume, i'd suggest you copy selected records to dasd, rather than the entire file.
Back to top
View user's profile Send private message
ksk

Active User


Joined: 08 Jun 2006
Posts: 355
Location: New York

PostPosted: Tue Dec 11, 2007 3:52 pm
Reply with quote

Hi Dick,

Yes you are right. If we have milions of records, we need to copy selected needed records. If file contains less number of records, we can copy total file.

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

Superior Member


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

PostPosted: Tue Dec 11, 2007 4:05 pm
Reply with quote

But how do you conclude how large the tape file is.. Synctool can come handy in this, right?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Tue Dec 11, 2007 7:54 pm
Reply with quote

Hello,

Most systems use automated tape management software.

The tape management system records how much data is on a file/tape.
Back to top
View user's profile Send private message
ayansau

New User


Joined: 22 Jun 2007
Posts: 42
Location: Chennai

PostPosted: Wed Dec 12, 2007 1:42 pm
Reply with quote

use this command

TSO DFRMM
1
2
GIVE THE DATASET NAME with OWNER as *, LIMIT as *
SELECT THE DATASET AS S
It will give u all details about the taped dataset
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Wed Dec 12, 2007 2:11 pm
Reply with quote

Hi,

I think this command is site specific..I didn't find it in my shop. I use TSO MYTMS.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Wed Dec 12, 2007 9:37 pm
Reply with quote

Hello,

Quote:
I need to browse the details of tape entry.
Has your question been answered?
Back to top
View user's profile Send private message
ksk

Active User


Joined: 08 Jun 2006
Posts: 355
Location: New York

PostPosted: Fri Dec 14, 2007 12:27 pm
Reply with quote

Hi,

Code:
But how do you conclude how large the tape file is.. Synctool can come handy in this, right?


yes, we can find howmany records are present in a tape file using ICEMAN.

KSK
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Sat Dec 15, 2007 1:59 pm
Reply with quote

Talk to the storage gurus who usually have a readily available report on exactly what you need to know.

Why waste time and resource recreating what usually already exists ?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Sat Dec 15, 2007 11:06 pm
Reply with quote

Hello,

Quote:
yes, we can find how many records are present in a tape file using ICEMAN.


Please read (re-read) the replies. . . .

There is usually no reason to pass an entire tape file to simply learn how many records are on the file. . . That is just a waste of resources.

I realize that one might need to pick up the phone, send an e-mail, or maybe just walk a bit, but who knows - one just might learn a new way to certain info as well as make a valuable contact. . .[/quote]
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 HILITE on Browse mode? TSO/ISPF 2
No new posts Capturing Job Execution Information All Other Mainframe Topics 3
No new posts Deleting a Tape file JCL & VSAM 14
No new posts Difference when accessing dataset in ... JCL & VSAM 7
No new posts JCL SORT to compress the student's de... DFSORT/ICETOOL 7
Search our Forums:

Back to Top