IBM MAINFRAME HELP & SUPPORT FORUMS
Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
 

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

THIS IS AN ARCHIVE FORUM: CLICK HERE TO GO TO THE ORIGINAL TOPIC

 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> IMS DB/DC
View previous topic :: View next topic  
Author Message
vijayakumar832003



Joined: 30 Sep 2006
Posts: 4

Posted: Wed Aug 13, 2008 4:26 pm    Post subject: how to Convert 5------- to 00000005 - READING from IMS MAP  

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  
Sandy Zimmer



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

Posted: Wed Aug 13, 2008 6:21 pm    Post subject:  

Take a look at the field on your MFS map - how is it defined?
Back to top  
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> IMS DB/DC
Page 1 of 1
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM