Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

DB2 table load failing with SE37

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: DB2 table load failing with SE37
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7306

PostPosted: Sun Mar 11, 2012 4:26 am    Post subject: Reply to: DB2 table load failing with SE37
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    Post subject: Reply to: DB2 table load failing with SE37
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7306

PostPosted: Sun Mar 11, 2012 4:22 pm    Post subject: Reply to: DB2 table load failing with SE37
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm
No new posts Join of more than one table dibyendumandal11111 DB2 6 Mon Feb 13, 2017 11:36 pm
No new posts Can DFSPARM override SORTKEYS paramet... ashek15 DB2 2 Tue Jan 31, 2017 11:36 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts Need Rexx Program to Load in to DB2 T... Hareesh Verma CLIST & REXX 22 Tue Sep 20, 2016 2:59 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us