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

Cobol Program to update DB field


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Mon Jul 20, 2009 1:28 pm
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

Superior Member


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

PostPosted: Mon Jul 20, 2009 5:57 pm
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

Superior Member


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

PostPosted: Mon Jul 20, 2009 6:04 pm
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

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Jul 20, 2009 8:43 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Using API Gateway from CICS program CICS 0
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
Search our Forums:

Back to Top