IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

FLASHCOPY giving error on while Copying VSAM to VSAM


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ksouren007

New User


Joined: 30 Jun 2010
Posts: 85
Location: Toronto, ON

PostPosted: Tue Aug 09, 2011 10:37 pm
Reply with quote

Hi,

I am getting the following abend while copying a VSAM file to another VSAM file with same attributes using FLASHCOPY utility. This job in which I got this error runs everyday without any issues. There were no changes done to it. It is working fine with the other files except two files for which it is giving the below error. Following control card is passed to the FLASHCOPY step:

COPY DATASET( -
INCLUDE(ABC.VSAM.TEST. )) -
RENAMEU((ABC.VSAM.TEST.,ABC.VSAM.TEST.BACKUP.))-
ALLDATA(*) -
ALLEXCP -
VOLCOUNT(N(20)) -
MGMTCLAS(MCNOACT) -
STORCLAS(&STOR.) -
TGTALLOC(SRC) -
CANCELERROR -
REPLACEU -
SPHERE -
TOL(ENQF)

IF LASTCC LE 4 THEN SET MAXCC = 0


Could someone please advise for what the below error could come for?

ADR711I (001)-NEWDS(01), DATA SET ABC.VSAM.TEST HAS BEEN ALLOCATED WITH NEWNAME ABC.VSAM.TEST.BACKUP USING STORCLAS
SCPRD, DATACLAS DCVSEXTC, AND MGMTCLAS MCNOACT
ADR763E (001)-DDFLT(01), DATA SETS IN SPHERE OF BASE CLUSTER ABC.VSAM.TEST WITH NEWNAME ABC.VSAM.TEST.BACKUP WERE NOT
ALL RENAMED.
ADR801I (001)-DDDS (01), DATA SET FILTERING IS COMPLETE. 1 OF 1 DATA SETS WERE SELECTED: 0 FAILED SERIALIZATION AND 0 FAILED FOR
OTHER REASONS
ADR455W (001)-DDDS (01), THE FOLLOWING DATA SETS WERE NOT SUCCESSFULLY PROCESSED
ADR013I (001)-CLTSK(01), 2011.221 07:39:14 TASK ABENDED WITH USER ABEND CODE 0001
ADR012I (SCH)-DSSU (01), 2011.221 07:39:14 DFSMSDSS PROCESSING COMPLETE. HIGHEST RETURN CODE IS 0008 FROM:
TASK 001
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Aug 09, 2011 10:52 pm
Reply with quote

Hello,

Look in the FLASHCOPY documentation for the meaing of a user 0001 . . .

You could also open an issue with product support.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Aug 09, 2011 11:42 pm
Reply with quote

The MAC tells you much:
Quote:
3.2.420 ADR763E


__________________________________________________________________________

ADR763E (ttt)-mmmmm(yy), DATA SETS IN SPHERE OF BASE CLUSTER cluster_name1
[WITH NEWNAME cluster_name2] WERE NOT ALL RENAMED


Explanation: When copying a sphere without specifying DELETE or RECATALOG, you must rename all parts of the sphere. If the target sphere is to be SMS-managed, the data sets must be renamed even if RECATALOG was specified, because RECATALOG is ignored for SMS-managed data sets.
System Action: Processing continues with the next data set. The return code is 8.
Operator Response: None.
Application Programmer Response: Do one of the following, then rerun the job:
Specify the DELETE or RECATALOG keyword.
Add or change the RENAMEUNCONDITIONAL keyword specification to rename all data sets in the sphere.
Source: DFSMSdss
Routing Code: MISSING INFO.
Descriptor Code: MISSING INFO.
Back to top
View user's profile Send private message
ksouren007

New User


Joined: 30 Jun 2010
Posts: 85
Location: Toronto, ON

PostPosted: Wed Aug 10, 2011 1:03 am
Reply with quote

Thanks all.

Robert,

Do I need to specify the DELETE/RECATALOG keyword in the control card that i am using or I have contact my site support for this issue?
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Wed Aug 10, 2011 1:14 am
Reply with quote

Why not read the message that Robert kindly posted for you IN ITS ENTIRITY. It tells you what to do.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Aug 10, 2011 5:57 am
Reply with quote

You need to specify DELETE and / or RECATALOG, depending upon what you are doing exactly -- which is what the message from the manual tells you to do. Or you could figure out exactly what the meaning of the message is and from there figure out which component(s) of the VSAM sphere are causing the problem.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
Search our Forums:

Back to Top