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
 

 

Where could be the problem in IMSDC program

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

Active User


Joined: 14 Sep 2009
Posts: 147
Location: Coimbatore

PostPosted: Mon Apr 12, 2010 10:50 am    Post subject: Where could be the problem in IMSDC program
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    Post subject:
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    Post subject:
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    Post subject:
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: 2150
Location: At my coffee table

PostPosted: Tue Apr 13, 2010 7:06 pm    Post subject: Re: Where could be the problem in IMSDC program
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    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 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 Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts Strings with double quotes having pro... raja Arumugam All Other Mainframe Topics 11 Thu Mar 30, 2017 10:34 am
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm


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