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
 
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: 7314

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: 7314

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 Searching a table for the field name? socker_dad COBOL Programming 8 Sat Mar 31, 2018 2:57 am
No new posts Need inputs on DB2 tablespace/table r... ashek15 DB2 3 Sat Mar 24, 2018 11:49 pm
No new posts can we hardcode a value in db2 load c... ram_vizag DB2 2 Wed Feb 28, 2018 11:04 pm
No new posts COBOL declaration for table Poha Eater DB2 3 Mon Feb 26, 2018 6:58 pm
No new posts load and delete table through JCL wit... ram_vizag JCL & VSAM 9 Thu Feb 01, 2018 12:47 am

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