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
 
How to update all ROws of the table using JCL

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

New User


Joined: 31 May 2007
Posts: 4
Location: banglore

PostPosted: Tue Sep 04, 2007 1:06 pm    Post subject: How to update all ROws of the table using JCL
Reply with quote

I have newly introduced column in a table i want to update all ROws of that table to 3 for that column, column type is smallint. icon_smile.gif
Back to top
View user's profile Send private message

RamsIBM

New User


Joined: 08 Jan 2007
Posts: 53
Location: Chennai

PostPosted: Tue Sep 04, 2007 4:44 pm    Post subject:
Reply with quote

Update table <table name> set <column name> =3
Back to top
View user's profile Send private message
bkvinay7

New User


Joined: 31 May 2007
Posts: 4
Location: banglore

PostPosted: Tue Sep 04, 2007 5:11 pm    Post subject: ok ram this looks fine BUT
Reply with quote

I wanna RUn JOB for this so that i can shedule it for any time.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Sep 04, 2007 7:15 pm    Post subject:
Reply with quote

Hello,

OK, place your update query in "jcl" and schedule it for whenever it is needed. . . .
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 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 Conditional highlighting of rows in I... packerm CLIST & REXX 2 Thu Sep 21, 2017 6:50 pm
No new posts Insert a Row_number into table useit DB2 2 Tue Sep 19, 2017 1:07 pm
No new posts column with count of rows within dist... ronald wouterson DB2 4 Sun Sep 17, 2017 9:48 pm

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