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 All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts IGYPG3178-I when compiling a pgm read... COBOL Programming 6
No new posts Convert CSV to flat file. DFSORT/ICETOOL 6
No new posts convert arbitrary UTC to local (SYD) ... COBOL Programming 1
No new posts Convert Service Unit to CPU Seconds All Other Mainframe Topics 1
No new posts CONVERT a given date from UTC TO BST CICS 0
Search our Forums:


Back to Top