MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

copy files

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
jerryc314
Beginner


Joined: 13 May 2004
Posts: 6
Topics: 4

PostPosted: Mon May 17, 2004 8:01 pm    Post subject: copy files Reply with quote

I am trying to copy a member of a pds to another pds. I tried using smcopy, but I kept the following error:

ADF114I record format of data sets not consistant with operation being performed.

Both the from and to datasets have the same format.

Why am I getting this error?

How can I do the copy? I want to create a REXX exec to copy several datasets.
Back to top
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Mon May 17, 2004 8:49 pm    Post subject: Reply with quote

What is "smcopy"? It's not a standard TSO or other utility command.
Back to top
View user's profile Send private message
jerryc314
Beginner


Joined: 13 May 2004
Posts: 6
Topics: 4

PostPosted: Mon May 17, 2004 9:21 pm    Post subject: Reply with quote

In TSO/E Command Reference SC28-1969 there is a refernece to SMCOPY.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Mon May 17, 2004 9:25 pm    Post subject: Reply with quote

Jerryc314,

what are the attributes of the source and target dataset? Using SMCOPY you can only copy fixed or varibale block datasets. Check this link for a detailed explanation of ADF114I

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IKJ3M130/1.44?SHELF=&DT=20000707161925&CASE=


Superk : SMCOPY is indeed a standard TSO command. Check this link for deatailed explanation of SMCOY command (z/OS V1R1.0 TSO/E Command Reference manual)

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IKJ4C500/1.73?DT=20010117151938

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Maton_Man
Beginner


Joined: 30 Jan 2004
Posts: 123
Topics: 0

PostPosted: Mon May 17, 2004 9:40 pm    Post subject: Reply with quote

Yes it is. It is part of Session Manager.

Do you really need to use Session Manager to do this? Can you use ISPF 3.3 instead?

For further help can you please post the allocation attributes of the PDSs you are copying from and to and the SMCOPY command you issued.
_________________
My opinions are exactly that.
Back to top
View user's profile Send private message
jerryc314
Beginner


Joined: 13 May 2004
Posts: 6
Topics: 4

PostPosted: Mon May 17, 2004 10:04 pm    Post subject: Reply with quote

I have about 200 members in four different pds's I want to copy into one pds. I don't want to use 3.3 and have to pick 200 different entries. I want to write a REXX exec to do the copy, using an available command.
Back to top
View user's profile Send private message
Maton_Man
Beginner


Joined: 30 Jan 2004
Posts: 123
Topics: 0

PostPosted: Tue May 18, 2004 1:34 am    Post subject: Reply with quote

Why not use LMMCOPY then?
_________________
My opinions are exactly that.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group