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
 

 

which method is suitable to update a record in table

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
Jiya_su

New User


Joined: 11 Dec 2006
Posts: 7
Location: hyderabad

PostPosted: Fri Dec 29, 2006 11:06 am    Post subject: which method is suitable to update a record in table
Reply with quote

hi friends
I want to update 2- 3 record of a table will u do by QMF or will write cobol-db2 program?
Back to top
View user's profile Send private message

guptae

Moderator


Joined: 14 Oct 2005
Posts: 1187
Location: Bangalore,India

PostPosted: Fri Dec 29, 2006 12:21 pm    Post subject:
Reply with quote

Hi Jiya,

U can update records by QMF/SPUFi or cobol ,db2 PGm & easytrieve.

But u should follow ur shop process to do this.
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Fri Dec 29, 2006 12:26 pm    Post subject: Re: which method is suitable to update a record in table
Reply with quote

Quote:
will u do by QMF or will write cobol-db2 program?

Thru QMF/SPUFI only, why to write a whole program just for 2-3 records.

Even best option would be to use ur shop available utility which allows you to directly interact with tables and update records. Such as Platinum tool in my case.
Back to top
View user's profile Send private message
Jiya_su

New User


Joined: 11 Dec 2006
Posts: 7
Location: hyderabad

PostPosted: Fri Dec 29, 2006 1:28 pm    Post subject:
Reply with quote

HI
QMF/SPUFY is the simplest & easiest method but how to show output to TL Or Client
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1187
Location: Bangalore,India

PostPosted: Fri Dec 29, 2006 1:34 pm    Post subject:
Reply with quote

Hi Jiya,

After ur update query Just give select query to fetch the rows which u have updated & then show the spufi o/p data set to TL /Client
Back to top
View user's profile Send private message
mainframelover

New User


Joined: 27 Dec 2006
Posts: 6
Location: Bangalore

PostPosted: Fri Dec 29, 2006 1:51 pm    Post subject: Re: which method is suitable to update a record in table
Reply with quote

or u can use fileaid for DB2 option..
Back to top
View user's profile Send private message
Jiya_su

New User


Joined: 11 Dec 2006
Posts: 7
Location: hyderabad

PostPosted: Wed Jan 03, 2007 1:01 am    Post subject: Thanks
Reply with quote

THANKS TO ALL..........
Back to top
View user's profile Send private message
humpty
Warnings : 1

New User


Joined: 01 May 2005
Posts: 23

PostPosted: Wed Jan 03, 2007 2:56 pm    Post subject: Re: which method is suitable to update a record in table
Reply with quote

Simply use the CATALOG MANAGER tool to insert/update/delete records from the table. There can be nothing simpler than this.

cheers!!
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 -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Data replication from multiple Db2 ta... kishpra DB2 5 Mon Mar 27, 2017 9:58 pm
No new posts Record Not found in AlX but record re... mukun264 COBOL Programming 7 Fri Mar 24, 2017 9:28 am
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 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
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm


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