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
 

 

Cobol Program to update DB field

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
bhagyadev

New User


Joined: 10 Nov 2008
Posts: 6
Location: india

PostPosted: Mon Jul 20, 2009 11:12 am    Post subject: Cobol Program to update DB field
Reply with quote

Can anyone provide me a sample program to update a particular field in the History DB?

Thanks in Advance
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Jul 20, 2009 1:28 pm    Post subject:
Reply with quote

1) Please do not ask for code without providing evidence that you have actually done something yourself.

2) Even if someone was kind / silly enough to do your work for you, do you honestly believe that you have given anyone nearly enough information.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Jul 20, 2009 5:57 pm    Post subject:
Reply with quote

I echo Expat -- you 've not given enough information to get useful replies.

Insane in me says, DB can be Define Byte or Device Busy or Decibel or Database.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Jul 20, 2009 6:04 pm    Post subject:
Reply with quote

Well, to start with, please have a look on Sample COBOL dynamic SQL program. But a lot of things depend on how do you want your program to work. Use the link as skeleton and post us back with what you've coded and what problem you are facing, in case program does not work the way you need.
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: Mon Jul 20, 2009 8:43 pm    Post subject:
Reply with quote

Hello,

Quote:
Can anyone provide me a sample program to update a particular field in the History DB
I suggest that someone in your very department has done exactly this (or some other table) on your system.

Is there some reason you do not use the existing code as a model and proceed from there?

Also, standard compile/bind processes already exist nd you should use them, not create your own.
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts RULES(NOEVENPACK) in cobol jackzhang75 COBOL Programming 5 Wed Mar 29, 2017 12:47 am
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 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 outrec field outside range Danielle.Filteau SYNCSORT 10 Sat Mar 04, 2017 2:37 am
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm


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