Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search 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 -> Mainframe COBOL
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
References
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1526

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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL All times are GMT + 6 Hours
Page 1 of 1