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

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

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 Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm
No new posts Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm
No new posts Insert a Row_number into table useit DB2 2 Tue Sep 19, 2017 1:07 pm
No new posts how to see when the last read access ... Mike 1304 DB2 1 Tue Sep 12, 2017 7:52 pm
No new posts PC (UTF-8) -> z/OS (EBCDIC) -> ... prino All Other Mainframe Topics 4 Fri Sep 01, 2017 1:47 am

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