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
 
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: 10309
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 How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm
No new posts Failure after DIR command Hank Watson All Other Mainframe Topics 2 Tue Aug 29, 2017 3:14 am
No new posts Join records from 2 files with No Dup... Poha Eater DFSORT/ICETOOL 21 Sun Aug 27, 2017 10:35 pm
No new posts Command to find TMEMBER name for a TPIPE Siva NKK Kothamasu IMS DB/DC 0 Wed Aug 16, 2017 6:08 pm
This topic is locked: you cannot edit posts or make replies. rexx to create a tso command Bharath Vikraman CLIST & REXX 1 Tue Aug 08, 2017 3:32 pm

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