View previous topic :: View next topic |
Author |
Message |
deepeshk79 Beginner
Joined: 20 Jun 2003 Posts: 112 Topics: 48 Location: Bangalore
|
Posted: Tue Apr 17, 2007 9:15 am Post subject: U0826 abend with HIDAM |
|
|
Hi,
I was trying to run a program that does a load on a HIDAM database. Getting the below abend U0826
Quote: |
+DFS0730I UNABLE TO OPEN DATA SET WITH DDNAME HOSPTDBX FOR REASON I,05,DATABASE HOSPTDBX PSB LOADPSB IVP1
+DFS0840I INDEX ERROR HOSPTDBX NI HOS1
+DFS0832I ABEND U0826 REASON CODE N/A DATABASE HOSPTDBX IVP1
+DFS629I IMS BATCH REGION ABEND- IMS 0826 IVP1
|
I have defined the DBD and DBX for HIDAM. Created a KSDS for DBX and an ESDS for DBD. Gave these two datasets for the run jcl but then its giving the abend U0826.
The DBDGEN and PSBGEN went of fine.
Please help.
Thanks,
Deepesh |
|
Back to top |
|
 |
deepeshk79 Beginner
Joined: 20 Jun 2003 Posts: 112 Topics: 48 Location: Bangalore
|
Posted: Tue Apr 17, 2007 9:18 am Post subject: |
|
|
Also i can see that the error code is NI which means
Open error on work file data set during DB load with secondary indexes.
The status code is 'NI'.
But then not sure what went wrong with the secondary indexes. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Tue Apr 17, 2007 9:53 am Post subject: |
|
|
deepeshk79,
You are getting an OPEN error which means that you are missing DD statements. Did you add the DD names in the JCL for the indexes?
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
deepeshk79 Beginner
Joined: 20 Jun 2003 Posts: 112 Topics: 48 Location: Bangalore
|
Posted: Tue Apr 17, 2007 9:59 am Post subject: |
|
|
Kolusu,
Yes i have added the DD names and the file does exist. The jcl is as below
Quote: |
000700 //STEP1 EXEC PGM=DFSRRC00,REGION=0M,TIME=2,COND=(4,LT),
000800 // PARM=(DLI,PGM1,ABCD,,,,,,,,,,,N)
000900 //STEPLIB DD DSN=IMS910.SDFSRESL,DISP=SHR
001000 // DD DSN=&LOADLIB,DISP=SHR
001100 //HOSPTDBD DD DISP=SHR,DSN=ESDS DATA FILE
001110 //HOSPTDBX DD DISP=SHR,DSN=KSDS INDEX FILE
001120 //INPFILE DD DISP=SHR,DSN=SEQUENTIAL INPUT FILE FOR LOAD DATA
001200 //*
001300 //IMS DD DSN=PSBLIB,DISP=SHR
001400 // DD DSN=DBDLIB,DISP=SHR
|
Any thoughts..
Deepesh |
|
Back to top |
|
 |
deepeshk79 Beginner
Joined: 20 Jun 2003 Posts: 112 Topics: 48 Location: Bangalore
|
Posted: Tue Apr 17, 2007 10:15 am Post subject: |
|
|
Kolusu,
Is it possible for you to give me a sample KSDS and ESDS IDCAMS define for a (HIDAM,VSAM) type of definition. I'm not sure if the options given while defining the KSDS and ESDS are proper.
Thanks,
Deepesh |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Tue Apr 17, 2007 10:18 am Post subject: |
|
|
Quote: |
+DFS0730I UNABLE TO OPEN DATA SET WITH DDNAME HOSPTDBX FOR REASON I,05,DATABASE HOSPTDBX PSB LOADPSB IVP1
|
deepeshk79,
reason code of I,05 is because the record size of an HS VSAM KSDS or ESDS being opened for load is not a multiple of two. The record size for VSAM HS data sets must be an even number.
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
deepeshk79 Beginner
Joined: 20 Jun 2003 Posts: 112 Topics: 48 Location: Bangalore
|
Posted: Tue Apr 17, 2007 10:28 am Post subject: |
|
|
Hi Kolusu,
Yes the reason was for the KSDS I had given RECSZ as (9 9), when i changed it to (10 10) it worked.
However I think this is not applicable for ESDS. When I changed the ESDS RECSZ to an even number, it gave me an open error for the ESDS.
Thanks for your help !!!
Deepesh |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Tue Apr 17, 2007 10:36 am Post subject: |
|
|
Quote: |
However I think this is not applicable for ESDS. When I changed the ESDS RECSZ to an even number, it gave me an open error for the ESDS.
|
deepeshk79,
Did you get the same error? or a different one? For an ESDS cluster the Record size should be 7 bytes less than CI size. Did you check that?
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
deepeshk79 Beginner
Joined: 20 Jun 2003 Posts: 112 Topics: 48 Location: Bangalore
|
Posted: Tue Apr 17, 2007 10:50 am Post subject: |
|
|
Kolusu,
Yes I got the same error. May be the error was due to the diff of 7 not being maintained. I had changed the Rec size from 2041 to 2040. The CI Size was 2048.
Thanks,
Deepesh |
|
Back to top |
|
 |
|
|