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

Commit option in DB2 LOAD card


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

New User


Joined: 07 Dec 2011
Posts: 26
Location: India

PostPosted: Fri Sep 21, 2012 5:49 pm
Reply with quote

Hello friends,

I am loading the table using the options


LOAD RESUME YES

COMMIT 2500

DELETEFILES YES

ENUMROWS (250000000,2000000)
into table XXXXXXX

I am getting the following error:


Quote:
UNEXPECTED TOKEN 'COMMIT' ENCOUNTERED IN COMMAND
.

Please let me know what option i can use to commit in LOAD. I have very big file to load.

I checked in IBM manuals but i could not find the COMMIT option in LOAD.
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Fri Sep 21, 2012 6:06 pm
Reply with quote

I think COMMITs in IBM DB2 Load process is internally handled by DB2. IIRC, if you use BMC LoadPlus for DB2, there is an option (or installation-specific) to code the commit count.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6965
Location: porcelain throne

PostPosted: Fri Sep 21, 2012 6:16 pm
Reply with quote

suggest

you

read

the

manual

instead of

searching

for commit.
Back to top
View user's profile Send private message
gylbharat

Active Member


Joined: 31 Jul 2009
Posts: 565
Location: Bangalore

PostPosted: Sat Sep 22, 2012 11:21 am
Reply with quote

which load utility are you using?
Back to top
View user's profile Send private message
sravz chinnu

New User


Joined: 07 Dec 2011
Posts: 26
Location: India

PostPosted: Mon Sep 24, 2012 4:45 pm
Reply with quote

Gnanas N wrote:
I think COMMITs in IBM DB2 Load process is internally handled by DB2. IIRC, if you use BMC LoadPlus for DB2, there is an option (or installation-specific) to code the commit count.


I am using BMC load. and i am using APCOMMIT.

When i use Only APCOMMIT 2500. I am not able to run the job
When i use SHarelevel option i am able to run my JCL.

Thanks for all your replies.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Simplify SORT CARD to combine INREC a... DFSORT/ICETOOL 6
No new posts Sort card to generate the DSN DFSORT/ICETOOL 17
No new posts Sort card to know that creation date ... DFSORT/ICETOOL 10
No new posts Dynamically build unload and load sta... DB2 14
No new posts SORT CARD meaning please DFSORT/ICETOOL 3
Search our Forums:


Back to Top