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
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
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts COBOL Programming Sandpit? jodrisco COBOL Programming 6 Wed Apr 12, 2017 3:47 am


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