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
 

 

Is there any way to browse a tape?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: Is there any way to browse a tape?
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: 8593
Location: Back in jolly old England

PostPosted: Fri Feb 01, 2008 5:57 pm    Post subject:
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: 788
Location: Chennai, India

PostPosted: Fri Feb 01, 2008 6:04 pm    Post subject:
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    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Tue Feb 12, 2008 5:00 pm    Post subject: Reply to: Is there any way to browse a tape?
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    Post subject:
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    Post subject: Re: Reply to: Is there any way to browse a tape?
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

Senior Member


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

PostPosted: Tue Feb 12, 2008 7:15 pm    Post subject: Re: Is there any way to browse a tape?
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Browse dataset cvnlynn CLIST & REXX 4 Tue Jul 18, 2017 3:52 am
No new posts Changeman get multiple "Browse C... elixir1986 Compuware & Other Tools 4 Fri Jul 14, 2017 1:48 am
No new posts Length of Tape file Mohan Kothakota JCL & VSAM 9 Thu Apr 20, 2017 10:24 pm
No new posts CICS Question RE: Browse, Readnext an... moezbud CICS 7 Sun Mar 05, 2017 5:45 am
No new posts TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 3 Fri Dec 09, 2016 10:57 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us