IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

which method is suitable to update a record in table


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
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
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: 1208
Location: Bangalore,India

PostPosted: Fri Dec 29, 2006 12:21 pm
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: 1448
Location: Chicago, IL

PostPosted: Fri Dec 29, 2006 12:26 pm
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
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: 1208
Location: Bangalore,India

PostPosted: Fri Dec 29, 2006 1:34 pm
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Load new table with Old unload - DB2 DB2 6
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Pulling a fixed number of records fro... DB2 2
Search our Forums:

Back to Top