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
 

 

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 Browse dataset cvnlynn CLIST & REXX 4 Tue Jul 18, 2017 3:52 am
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 7 Thu Apr 27, 2017 1:15 am
No new posts Copy load modules and alias vasanthz IBM Tools 5 Thu Apr 20, 2017 6:31 am


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