View previous topic :: View next topic
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
The answer is NO
You need to download the file, or part thereof, to DASD |
|
Back to top |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, 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
New User
Joined: 21 Jun 2005 Posts: 75
|
|
|
|
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: 11 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
Superior Member
Joined: 14 Mar 2007 Posts: 10873 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: 25 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: 344 Location: Spain
|
|
|
|
enrico-sorichetti wrote: |
the O/P was asking about plain old tape datasets
not dasd migrated datasets |
|
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
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 |
|
|
|