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
 
DCOLLECT ERROR While reading backupinfo from BCDS Datasets

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
jayp_agrawal

New User


Joined: 23 Jun 2005
Posts: 25
Location: Norwich

PostPosted: Wed Dec 09, 2009 12:10 pm    Post subject: DCOLLECT ERROR While reading backupinfo from BCDS Datasets
Reply with quote

Hello,

I am trying to collect some backupinfo from BCDS using DCOLLECT.
I am using following parameter in my DCOLLECT JOB.

//SYSIN DD *
DCOLLECT -
OUTFILE(DCOUT) -
BACKUPDATA


This DCOLLECT fails with the following error message.
IDC21804I FAILURE DURING MIGRATION DATA COLLECTION SERVICE PROCESSING -
IDC21804I RETURN CODE WAS X'0C' REASON CODE WAS X'00000002
IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 8

there are 4 BCDS component BCDS1,BCDS2,BCDS3,BCDS4, for all except BCDS1 it works fine.

I have done dataset audit, BCDS audit, have run a IDCAMS EXANINE and diagnose. but all seems to have ended OK.

Could anyone suggest how we can identify what the problem is and any possible way of solving it.


Thanks
Jay
Back to top
View user's profile Send private message

expat

Global Moderator


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

PostPosted: Wed Dec 09, 2009 12:24 pm    Post subject:
Reply with quote

Post the JCL as well
Back to top
View user's profile Send private message
jayp_agrawal

New User


Joined: 23 Jun 2005
Posts: 25
Location: Norwich

PostPosted: Wed Dec 09, 2009 1:35 pm    Post subject:
Reply with quote

//DCOLLECT EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//BCDS DD DSN=HSM6.BCDS1,DISP=SHR
//DCOUT DD DSN=AGARWJ1.DCOL.HSM.IBM6.T,
// DISP=(NEW,CATLG,DELETE),
// SPACE=(TRK,(1000,1000),RLSE),
// DCB=(RECFM=VB,LRECL=32756,BLKSIZE=0)
//SYSIN DD *
DCOLLECT -
OUTFILE(DCOUT) -
BACKUPDATA

IF MAXCC = 8 THEN SET MAXCC = 0
/* END OF DCOLLECT COMMAND
**************************** Bottom of Data ********
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Wed Dec 09, 2009 2:02 pm    Post subject:
Reply with quote

Have you tried adding the DD statements for all of the BCDS components
Back to top
View user's profile Send private message
jayp_agrawal

New User


Joined: 23 Jun 2005
Posts: 25
Location: Norwich

PostPosted: Wed Dec 09, 2009 2:23 pm    Post subject:
Reply with quote

I have tried initially with all BCDS components - It was giving the same error.

Then I tried with individual datasets.

with BCDS2 BCDS3 abd BCDS4 it ended with RC=0
only in case of BCDS1 it is causing this problem.



Cheers
Jay
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Wed Dec 09, 2009 3:03 pm    Post subject:
Reply with quote

Please post the code and output from the failure where you have defined all of the BCDS components.
Back to top
View user's profile Send private message
jayp_agrawal

New User


Joined: 23 Jun 2005
Posts: 25
Location: Norwich

PostPosted: Wed Dec 09, 2009 4:51 pm    Post subject:
Reply with quote

JCL Code


//DCOLLECT EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//BCDS DD DSN=HSM6.BCDS1,DISP=SHR
//BCDS2 DD DSN=HSM6.BCDS2,DISP=SHR
//BCDS3 DD DSN=HSM6.BCDS3,DISP=SHR
//BCDS4 DD DSN=HSM6.BCDS4,DISP=SHR
//DCOUT DD DSN=AGARWJ1.DCOL.HSM.IBM6.T,
// DISP=(NEW,CATLG,DELETE),
// SPACE=(TRK,(1000,1000),RLSE),
// DCB=(RECFM=VB,LRECL=32756,BLKSIZE=0)
//SYSIN DD *
DCOLLECT -
OUTFILE(DCOUT) -
BACKUPDATA

IF MAXCC = 8 THEN SET MAXCC = 0
/* END OF DCOLLECT COMMAND


Error Message :

IDCAMS SYSTEM SERVICES TIM

DCOLLECT -
OUTFILE(DCOUT) -
BACKUPDATA
IDC21804I FAILURE DURING MIGRATION DATA COLLECTION SERVICE PROCESSING
IDC21804I RETURN CODE WAS X'0C' REASON CODE WAS X'00000002
IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 8
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Wed Dec 09, 2009 5:13 pm    Post subject:
Reply with quote

It says that the failure is during the collection of migrated data, which you have not shown in your submitted JCL.

Are you sure that you are showing us the submitted JCL, or just what you want to show us. Admitedly only with one BCDS I have just processed a DCOLLECT ofr only BACKUPDATA and had no problems.

Have you tried adding the MCDS DD ststement to see what happens. Although the error messages / codes do point to a BCDS problem.

How much HSM processing is going on at the time.
Does the BCDS need a reorg.
How was the BCDS split.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Wed Dec 09, 2009 5:54 pm    Post subject:
Reply with quote

Oh, almost forgot, is the BCDS RLS ?
Back to top
View user's profile Send private message
jayp_agrawal

New User


Joined: 23 Jun 2005
Posts: 25
Location: Norwich

PostPosted: Fri Dec 11, 2009 3:16 pm    Post subject: Reply to: DCOLLECT ERROR While reading backupinfo from BCDS
Reply with quote

Hello,

Though this message says migration dataset collection error,
it is actually a problem while reading data from BCDS.
It is clear from error code definition

IDC21804I RETURN CODE WAS X'0C' REASON CODE WAS X'00000002

JCL given here is the one which I have used.

There is no HSM processing going on as it is a test lpar and we an shut down HSM if needed.

We have already done reorg for all 4 BCDS datasets.


All BCDS files are RLS files
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Fri Dec 11, 2009 7:06 pm    Post subject:
Reply with quote

Unfortunately I don't have too much time at the moment, but have you tried
Code:
//BCDS  DD DSN=HSM6.BCDS1,DISP=SHR,RLS=NRI
//BCDS2 DD DSN=HSM6.BCDS2,DISP=SHR,RLS=NRI
//BCDS3 DD DSN=HSM6.BCDS3,DISP=SHR,RLS=NRI
//BCDS4 DD DSN=HSM6.BCDS4,DISP=SHR,RLS=NRI
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts -502 Error - Cursor already open anand jeyapaul DB2 7 Sun Oct 29, 2017 4:22 am
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am

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