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: 8614
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 File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts OUTREC with ALter Command scorp_rahul23 DFSORT/ICETOOL 1 Wed Nov 22, 2017 3:10 pm
No new posts Compare and COPY using DFSORT pshongal DFSORT/ICETOOL 3 Fri Nov 17, 2017 9:49 am
No new posts Copy selected columns from 2 input fi... Poha Eater DFSORT/ICETOOL 3 Thu Nov 02, 2017 3:43 pm
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm

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