Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Remove leading spaces from numeric field rexx77 SYNCSORT 6 Wed Sep 06, 2017 2:15 am
No new posts Return a Non Numeric value from REXX Learncoholic CLIST & REXX 3 Fri Sep 01, 2017 8:33 pm
No new posts Select numeric portion from CHAR data... balaji81_k DB2 6 Sat Aug 19, 2017 1:51 am
No new posts Suppress value reported by BREAK in D... Learncoholic DFSORT/ICETOOL 3 Wed Aug 16, 2017 6:03 pm
No new posts Validate if a Value from the file is ... balacsv2 COBOL Programming 8 Mon Jun 19, 2017 11:52 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us