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

Difference b/w Zeroes, Spaces and Low-values


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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: 435
Location: chennai, India

PostPosted: Mon Apr 11, 2005 3:31 pm
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Remove leading zeroes SYNCSORT 4
No new posts leading spaces can be removed in trai... DFSORT/ICETOOL 1
No new posts Null values are considered in Total c... DFSORT/ICETOOL 6
Search our Forums:

Back to Top