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

Is there any way to browse a tape?


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rrk_007

New User


Joined: 22 May 2007
Posts: 17
Location: Mumbai

PostPosted: Fri Feb 01, 2008 5:55 pm
Reply with quote

Can I browse or open a Tape dataset to browse the files? if yes whats the command?

It giving me "Tape not supported" error.

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

Global Moderator


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

PostPosted: Fri Feb 01, 2008 5:57 pm
Reply with quote

The answer is NO

You need to download the file, or part thereof, to DASD
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Fri Feb 01, 2008 6:04 pm
Reply with quote

Quick and dirty reply, sorry.

Try this,

Code:
EXEC PGM=SORT
SORTIN tape dataset
SORTOUT dataset in DASD, (as new)
SYSIN  SORT FIELDS=COPY


And view or browse SORTOUT dataset.

Do correct me if I am wrong.
Back to top
View user's profile Send private message
Srinivasa Rao

New User


Joined: 21 Jun 2005
Posts: 75

PostPosted: Fri Feb 01, 2008 7:24 pm
Reply with quote

You cannot browse a tape file. You need to resore the file to your workfile and then you can browse it.
Back to top
View user's profile Send private message
srinivas_443

New User


Joined: 19 Dec 2007
Posts: 11
Location: chennai

PostPosted: Tue Feb 12, 2008 4:49 pm
Reply with quote

Yes you need to recall the file. in each shop they will use some line command to get easily,we will use HR for recalling . Other wise using IEBGENAR restore to one file.

I was not paying attention - the question has nothing to do with recalling datasets. . .

Regards,
Srinivas Jala
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Feb 12, 2008 5:00 pm
Reply with quote

please please,
when answering questions, try to understand the skill of the O/P ( original poster )
and try to answer in an adequate ( to the O/P skill ) manner
without introducing unneeded complexity

the O/P was asking about plain old tape datasets
not dasd migrated datasets
Back to top
View user's profile Send private message
ahalyah

New User


Joined: 13 Dec 2007
Posts: 25
Location: india

PostPosted: Tue Feb 12, 2008 5:20 pm
Reply with quote

No, directly you can't brows the tape file.
In option 6 use the command HRECOVER 'DATASET NAME'.
This will recall your dataset.

I was not paying attention - the question has nothing to do with recalling datasets. . .
Back to top
View user's profile Send private message
acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Tue Feb 12, 2008 5:28 pm
Reply with quote

enrico-sorichetti wrote:

the O/P was asking about plain old tape datasets
not dasd migrated datasets
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 Feb 12, 2008 7:15 pm
Reply with quote

rrk_007 wrote:
Can I browse or open a Tape dataset to browse the files? if yes whats the command?
TAPE files are different than DASDs. You can not just browse them. You need to get that file to DASD, as suggested earlier. In my shop we use MULTIGEN for this, but this (MULTIGEN) is not in use across shops so I would not post the code using MULTIGEN.

FILE-AID can be used for the same purpose.

And when You do this just try to get the LRECL using SYNCTOOL/ICETOOL of TAPE file so that You don't waste a lot of DASD space by coding DCB=*.SYSUT1 etc. where SYSUT1 is DD name for Your tape file.
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts HILITE on Browse mode? TSO/ISPF 2
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 and TAPE drives: how to maximize ... JCL & VSAM 9
No new posts ADR324E-VOL/DATASET SPECIFIED BY DDNA... JCL & VSAM 6
Search our Forums:

Back to Top