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 Fileaid Update Replace with null string descann Compuware & Other Tools 4 Mon May 15, 2017 3:00 pm
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm


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