Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
OCOPY command to copy a MVS Dataset to a HFS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
arun_st

New User


Joined: 23 Feb 2007
Posts: 3
Location: Bangalore

PostPosted: Thu Apr 19, 2007 3:33 pm    Post subject: OCOPY command to copy a MVS Dataset to a HFS
Reply with quote

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
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Apr 19, 2007 3:50 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts XMITIP sends it out. Can it copy on l... Rommel Dayon Rustia IBM Tools 0 Tue Sep 05, 2017 10:16 am
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm
No new posts Failure after DIR command Hank Watson All Other Mainframe Topics 2 Tue Aug 29, 2017 3:14 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us