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

effective way to suppress leading spaces in numeric decl


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Avinash_Gupta

New User


Joined: 11 May 2005
Posts: 26
Location: Hyderabad

PostPosted: Fri May 13, 2005 12:22 am
Reply with quote

Can anyone tell me the most effective way of suppressing the leading spaces in a numeric declaration.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Fri May 13, 2005 11:50 pm
Reply with quote

Hi Avinash,

The ques doesn't provide much info. Why don't you give an example w/data defs and data diagrams. Also COBOL stmts, etc.
Back to top
View user's profile Send private message
dbelton

New User


Joined: 10 Jun 2005
Posts: 15

PostPosted: Tue Jun 14, 2005 4:37 pm
Reply with quote

Avinash_Gupta wrote:
Can anyone tell me the most effective way of suppressing the leading spaces in a numeric declaration.


Do you want to just supress the leading spaces when you print the number out? If so, then use the pic on the display field to supress the leading zeros. You don't really ever want spaces in a numeric field.
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Issues Converting From ZD to Signed N... DFSORT/ICETOOL 4
No new posts Keep leading zero(s) after convert fl... SYNCSORT 7
No new posts Remove leading zeroes SYNCSORT 4
No new posts leading spaces can be removed in trai... DFSORT/ICETOOL 1
No new posts Cobol program with sequence number ra... COBOL Programming 5
Search our Forums:

Back to Top