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
 

 

Command to issue a COMMIT after every 1000 records

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
sandhyaimmadi

New User


Joined: 18 Aug 2008
Posts: 50
Location: Bangalore

PostPosted: Fri Oct 31, 2008 8:57 pm    Post subject: Command to issue a COMMIT after every 1000 records
Reply with quote

Hello,

what is the command to issue a COMMIT after every 1000 records.
Please let me know
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Fri Oct 31, 2008 9:22 pm    Post subject: Reply to: Commit
Reply with quote

the same You would use after 100 or 10000 icon_biggrin.gif

it' s a program task to keep a counter and act accordingly
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Fri Oct 31, 2008 11:04 pm    Post subject: Re: Commit
Reply with quote

Hi,
sandhyaimmadi wrote:
what is the command to issue a COMMIT after every 1000 records.
Do you have something differnt in mind ?

The COMMIT statement ends a unit of recovery (that's what Enrico has told) and commits the relational database changes that were made in that unit of recovery.
Back to top
View user's profile Send private message
rakesha.hg

Active User


Joined: 21 Mar 2008
Posts: 161
Location: bangalore

PostPosted: Mon Nov 03, 2008 11:54 am    Post subject: Reply to: Command to issue a COMMIT after every 1000 records
Reply with quote

hi Sandhya,

Do you have any examples in your shop(... doing commit differently) icon_question.gif

All these days .. we programmers issue commit with a commit(counter icon_sad.gif ) ...

if you have any other ways, you have seen or in mind let the forum know.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Check if any Detail records and extra... V S Amarendra Reddy SYNCSORT 19 Mon May 08, 2017 8:54 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts after TBSARG: Row 370 from 1000 Pedro TSO/ISPF 1 Fri Apr 14, 2017 2:32 am
No new posts Join giving more records than expected Danielle.Filteau SYNCSORT 2 Thu Mar 09, 2017 3:28 am
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am


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