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
 

 

How is cobol COMP-3 stored in IMS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
View previous topic :: :: View next topic  
Author Message
pdotp2007

New User


Joined: 17 Feb 2007
Posts: 1
Location: India

PostPosted: Sat Feb 17, 2007 3:23 pm    Post subject: How is cobol COMP-3 stored in IMS
Reply with quote

From cobol program I am trying to access a segement, in the key i have a 9(11) COMP3 field. I am passing zeroes to this field and I have edited IMS database to have zeroes in the database, but the call us giving me GE that is segment not found. Any reason why?
Back to top
View user's profile Send private message

Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1105
Location: The Netherlands at Hole 19

PostPosted: Mon Feb 19, 2007 7:38 pm    Post subject:
Reply with quote

Depends on the TYPE-parameter in your DBD. Check this and compare your programdefinition with the DBD-definition for this field. Also take a look at my signature; the first link in it and do some searching now and then.
Back to top
View user's profile Send private message
gautam79

New User


Joined: 30 Aug 2006
Posts: 11
Location: India

PostPosted: Fri Mar 09, 2007 7:16 pm    Post subject:
Reply with quote

Hi,
I think if the same key is defined on database as Packed (shows up as PS on File Aid for IMS) 11,0, it should just work fine. check this.

And i am not sure how u edited this on IMS DB, because if its a key field, it should not allow you to modify that on database. You should probably be inserting a new segment with key field as ZEROS.
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 -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts Query on DB2 WLM stored procedures ashek15 DB2 8 Sun Feb 12, 2017 11:13 pm
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm
No new posts Submit job from Cobol with input data abdulrafi COBOL Programming 4 Wed Feb 01, 2017 12:41 pm


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