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
 

 

effective way to suppress leading spaces in numeric decl

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: effective way to suppress leading spaces in numeric decl
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    Post subject:
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    Post subject: Re: effective way to suppress leading spaces in numeric decl
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Converting decimal to numeric using I... Balaryan DFSORT/ICETOOL 4 Thu Feb 02, 2017 11:27 pm
No new posts Count Trailing Spaces in variable str... Virendra Shambharkar SYNCSORT 10 Thu Feb 02, 2017 12:23 pm
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm
No new posts Removing Extra Spaces in a comma sepa... Puspojit DFSORT/ICETOOL 3 Tue Sep 13, 2016 7:46 am


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