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 Conversion of DLI update Jobs as BMP ... Gopinath Shanmugam IMS DB/DC 3 Wed Dec 20, 2017 12:02 pm
No new posts Merging 2 records at multiple rows wi... Bijesh DFSORT/ICETOOL 2 Wed Dec 06, 2017 1:50 am
No new posts Can we combine the rows with same key... V S Amarendra Reddy DB2 12 Fri Dec 01, 2017 10:29 pm
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

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