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
 

 

Difference b/w Zeroes, Spaces and Low-values

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
cmohanraj

New User


Joined: 04 Apr 2005
Posts: 15

PostPosted: Fri Apr 08, 2005 10:52 pm    Post subject: Difference b/w Zeroes, Spaces and Low-values
Reply with quote

i want to know whether moving os to a numeric data and moving spaces to a alphanumeric data and initializing numeric and alphanumeric data are same.
in that case what is the difference b/w zeros spaces and lowvalues
Back to top
View user's profile Send private message

radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 436
Location: chennai, India

PostPosted: Mon Apr 11, 2005 3:31 pm    Post subject:
Reply with quote

They are differed by collating sequence.
Back to top
View user's profile Send private message
anuradha

Active User


Joined: 06 Jan 2004
Posts: 247
Location: Hyderabad

PostPosted: Mon Apr 11, 2005 3:32 pm    Post subject: Hi Mohan,
Reply with quote

Though i dont know much about this, i have something to share with you. Initialising the numeric variable is same as moving zeroes and same with the alphanumerics. But initialising the variable will cost more. In one of our maintenance tasks our client requested us to change the initialize statement to 'move zeroes' as it is costing more.

Someone can correct me if iam wrong or add on to my information.
Back to top
View user's profile Send private message
Vayunandanrao

New User


Joined: 22 Mar 2005
Posts: 9

PostPosted: Mon Apr 11, 2005 5:14 pm    Post subject: Re: Difference b/w Zeroes, Spaces and Low-values
Reply with quote

INITIALIZE Id-1

1. If the Id-1 is numeric Variable then Zeroes are assigned to it
2. If the Id-1 is AlphaNumeric or alphabetic then spaces will assigned to the Identifier.

I hope this info will clear ur doubt

Regards
-VayunandanRao-
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 Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Format record to remove Leading zeroes Learncoholic DFSORT/ICETOOL 14 Wed Apr 05, 2017 2:43 pm
No new posts Compare two files and subtract values ameetmund DFSORT/ICETOOL 7 Fri Mar 31, 2017 3:35 pm
No new posts Check Binary Values for symbols gandikk CA Products 3 Tue Mar 21, 2017 5:11 am
No new posts To display values of multiple rows in... vinu78 DB2 2 Thu Mar 09, 2017 1:20 pm


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