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

how to Convert 5------- to 00000005 - READING from IMS MAP


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

New User


Joined: 30 Sep 2006
Posts: 4

PostPosted: Wed Aug 13, 2008 4:26 pm
Reply with quote

Hi,
I would like to know how can we make the value 5------- to 00000005 WHERE - stands for SPACES.

I am having a problem validating a NUMERIC field when I read from a IMS DC map. Though I Enter 5------- it is not taking it as NUMERIC inside the program so I need a CONVERSION method to convert to 00000005
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


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

PostPosted: Wed Aug 13, 2008 6:21 pm
Reply with quote

Take a look at the field on your MFS map - how is it defined?
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 Need to convert date format DFSORT/ICETOOL 20
No new posts Keep leading zero(s) after convert fl... SYNCSORT 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
No new posts Find the size of a PS file before rea... COBOL Programming 13
No new posts Convert single row multi cols to sing... DFSORT/ICETOOL 6
Search our Forums:

Back to Top