View previous topic :: View next topic
|
Author |
Message |
jayp_agrawal
New User
Joined: 23 Jun 2005 Posts: 25 Location: Norwich
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Post the JCL as well |
|
Back to top |
|
|
jayp_agrawal
New User
Joined: 23 Jun 2005 Posts: 25 Location: Norwich
|
|
|
|
//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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Have you tried adding the DD statements for all of the BCDS components |
|
Back to top |
|
|
jayp_agrawal
New User
Joined: 23 Jun 2005 Posts: 25 Location: Norwich
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Please post the code and output from the failure where you have defined all of the BCDS components. |
|
Back to top |
|
|
jayp_agrawal
New User
Joined: 23 Jun 2005 Posts: 25 Location: Norwich
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Oh, almost forgot, is the BCDS RLS ? |
|
Back to top |
|
|
jayp_agrawal
New User
Joined: 23 Jun 2005 Posts: 25 Location: Norwich
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
|