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 IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm
No new posts To display values of multiple rows in... vinu78 DB2 2 Thu Mar 09, 2017 1:20 pm
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm
No new posts Join of more than one table dibyendumandal11111 DB2 6 Mon Feb 13, 2017 11:36 pm
This topic is locked: you cannot edit posts or make replies. DB2 query Using Recursion, Converting... smilewithashu2 DB2 3 Tue Jan 03, 2017 12:50 pm


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