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
This topic is locked: you cannot edit posts or make replies. Full Time COBOL Software Development ... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:24 am
This topic is locked: you cannot edit posts or make replies. COBOL Software Development Lead at Fi... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:21 am
No new posts INVALID FIELD OR CONSTANT IN SORTOF ?? Ron Klop DFSORT/ICETOOL 8 Wed Jan 11, 2017 3:44 pm
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm


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