|
|
| Author |
Message |
rrk_007
New User
Joined: 22 May 2007 Posts: 17 Location: Mumbai
|
|
|
|
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 |
|
 |
References
|
Posted: Fri Feb 01, 2008 5:55 pm Post subject: Re: Is there any way to browse a tape? |
 |
|
|
 |
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 3207 Location: Brussels once more ...
|
|
|
|
The answer is NO
You need to download the file, or part thereof, to DASD |
|
| Back to top |
|
 |
Gnanas SNG
Senior Member
Joined: 06 Sep 2007 Posts: 415 Location: India
|
|
|
|
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 |
|
 |
Srinivasa Rao
Active User
Joined: 21 Jun 2005 Posts: 77
|
|
|
|
| You cannot browse a tape file. You need to resore the file to your workfile and then you can browse it. |
|
| Back to top |
|
 |
srinivas_443
New User
Joined: 19 Dec 2007 Posts: 13 Location: chennai
|
|
|
|
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 |
|
 |
enrico-sorichetti
Global Moderator
Joined: 14 Mar 2007 Posts: 2656 Location: italy
|
|
|
|
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 |
|
 |
ahalyah
New User
Joined: 13 Dec 2007 Posts: 26 Location: india
|
|
|
|
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 |
|
 |
acevedo
Active User
Joined: 11 May 2005 Posts: 286 Location: Spain
|
|
|
|
| enrico-sorichetti wrote: |
the O/P was asking about plain old tape datasets
not dasd migrated datasets |
|
|
| Back to top |
|
 |
Anuj D.
Global Moderator
Joined: 22 Apr 2006 Posts: 1951 Location: Phoenix, AZ
|
|
|
|
| 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 |
|
 |
|
|