View previous topic :: View next topic
|
Author |
Message |
arun_st
New User
Joined: 23 Feb 2007 Posts: 3 Location: Bangalore
|
|
|
|
Hi,
I'm using OCOPY to copy a MVS Dataset to a HFS ..and i need to issue the command from USS.
tsocmd "ALLOCATE FILE(sysut1) DATASET(ABC.DRVREQ.TEXT')"
tsocmd "ALLOCATE FILE(pathname) PATH('/u/USER245/list1')"
tsocmd "OCOPY INDD(sysut1) OUTDD(pathname) TEXT PATHOPTS(OVERRIDE)"
but when i give the third command..i get the below error
OCOPY INDD(sysut1) OUTDD(pathname) TEXT PATHOPTS(OVERRIDE)
RC(12)
FILE INFO-RETRIEVAL NOT PERFORMED, IS NOT ALLOCATED
READY
END
it say that the file list1 is already in use...how do i solve this problem? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
My only guess would be that the file specified in the path does not exist.
Of course I may be wrong, not having played with USS for years now. |
|
Back to top |
|
|
|