Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm
No new posts sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us