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

DB2 table load failing with SE37


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
pawan_kch

New User


Joined: 05 Apr 2006
Posts: 11
Location: Bangalore

PostPosted: Sun Mar 11, 2012 4:19 am
Reply with quote

Hi, I am trying to load a table using DB2 UTLL. Below is the JCL,

Code:
//STEP090    EXEC  DBW1UTLL,TIME=120,
//            UID='PSALOD44.STEP090',
//            UTPROC='RESTART(PHASE)',
//            CONDCDE=4,SYSOUT='*',SOUT='*'
//SYSIN    DD DISP=SHR,DSN=Control Card
//SYSREC   DD DISP=SHR,DSN=Data file
//SYSDISC  DD DSN=PSTT.NT.STR.FS448.SYSDISC,
//            DISP=(MOD,CATLG,CATLG),
//            UNIT=SYSDA,
//            SPACE=(CYL,(1,15),RLSE)
//SYSMAP   DD DSN=PSTT.NT.STR.FS448.SYSMAP,
//            DISP=(MOD,CATLG,CATLG),
//            UNIT=SYSDA,
//            SPACE=(CYL,(100,200),RLSE)
still continuing....


The job immediately fails with the below message,

Code:
DSNU241I  -DTWA 070 15:43:52.70 DSNURBDC - DICTIONARY WITH 4096 ENTRIES HAS BEEN SUCCESSFULLY BUILT FROM 7874 ROWS FOR
TABLE SPACE PSAHWP81.PY0LRG24, PARTITION 1

DSNU016I    070 15:44:03.47 DSNUGBAC - UTILITY BATCH MEMORY EXECUTION ABENDED,REASON=X'0E37'


any suggestions/idea, what could be the problem? SE37 must be a space issue, but the job immediately fails in a sec without any load
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Sun Mar 11, 2012 4:26 am
Reply with quote

I don't think you have posted all the messages.

You have MOD,CATLG,CATLG for your output datasets. If you re-run with those same datasets and no changes, it is not going to work, you can't MOD to a file which is already not able to extend. So what did you do before the re-run?
Back to top
View user's profile Send private message
pawan_kch

New User


Joined: 05 Apr 2006
Posts: 11
Location: Bangalore

PostPosted: Sun Mar 11, 2012 1:43 pm
Reply with quote

Hi Bill,

After changing the DISP=(NEW,CATLG,CATLG) the job is re-run to success. I didnt know about wht you mentioned here.

Anyhow, Thanks a lot much..
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Sun Mar 11, 2012 4:22 pm
Reply with quote

Look it all up in the JCL manual.

(now,no-failure,failure)

If you specify (MOD,CATLG,CATLG) then the dataset, with it's contents, will remain after an abend. If that abend relates to space for the dataset, then if you just kick the job in again, it is going to fail very quickly as the dataset still contains the data from how far it got previously.

Except for problem-determination, sometimes, I'd code (NEW,CATLG,DELETE) and not worry if the job abends as the dataset will no longer exist.

MOD is (now) a bit more "tricky" (to make things easier). If the dataset does not exist, it operates like NEW. If the dataset exists, it operates like MOD.

Look it all up. Experiment. Understand. If still unclear, start a new topic fully describing your problem and what your understand by it, please.
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 -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Pulling a fixed number of records fro... DB2 2
No new posts How to load to DB2 with column level ... DB2 6
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top