IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Where could be the problem in IMSDC program


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
abdulrafi

Active User


Joined: 14 Sep 2009
Posts: 184
Location: Coimbatore

PostPosted: Mon Apr 12, 2010 10:50 am
Reply with quote

Hi,

I recently designed a new imsdc screen. When i was testing i got a problem.
Actually there is a field named "TDSNO" which is of 7 bytes of length.
But when i executed the screen, the number got populated like,

TDSNO: Ø026765 C/C: 5

Actually the number is 0267655. the last number 5 got pushed up to the nearby field C/C and the first number got some junk value i guess. I checked the mfs properly for the input and output fields and also the psoition where the tdsno has to start and also the output field length. But everything seems to be normal.

Can anybody please help me to find out where could be the problem.....
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Mon Apr 12, 2010 3:25 pm
Reply with quote

We cannot tell you without more info. You need to post the fields from your MFS and your Cobol field definitions from your program. These fields need to match. The displacement needs to match. You need to go by field by field and make sure they are lined up correctly.
Back to top
View user's profile Send private message
manikawnth

New User


Joined: 07 Feb 2007
Posts: 61
Location: Mumbai

PostPosted: Tue Apr 13, 2010 5:00 pm
Reply with quote

Hi Abdul,

I strongly feel this is displacement mismatch.
The first character something looks like the attribute of the field displaced to wrong position.

Post the complete MFS layout and programs MOD layout while inserting on the screen.
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Tue Apr 13, 2010 6:31 pm
Reply with quote

Quote:
The first character something looks like the attribute of the field displaced to wrong position.


What are you looking at? Nothing was posted?
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Tue Apr 13, 2010 7:06 pm
Reply with quote

abdulrafi wrote:
TDSNO: Ø026765 C/C: 5
Depending on the codepage, the Os (O slash) could be X'80' or X'9D'.....
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
Search our Forums:

Back to Top