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 Read two inputs and write into output... murali.andaluri DFSORT/ICETOOL 6 Wed Jul 26, 2017 7:35 pm
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 19 Thu Jul 13, 2017 2:11 pm
No new posts Need to write record of PS File in ex... Chandan1993 JCL & VSAM 1 Wed Jun 07, 2017 1:35 am
No new posts Fileaid Update Replace with null string descann Compuware & Other Tools 4 Mon May 15, 2017 3:00 pm
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am


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