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
 

 

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 Fileaid Update Replace with null string descann Compuware & Other Tools 4 Mon May 15, 2017 3:00 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
No new posts unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm
No new posts Data replication from multiple Db2 ta... kishpra DB2 9 Mon Mar 27, 2017 9:58 pm
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm


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