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
 
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 Extend the decimal values in DIVISION Balaryan DFSORT/ICETOOL 3 Thu Oct 05, 2017 4:05 pm
No new posts Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 5 Fri Sep 22, 2017 4:56 pm
No new posts Working with hex values in Filemanage... Emile Straker IBM Tools 0 Tue Sep 12, 2017 1:42 am
No new posts DB2 NULL Values display V S Amarendra Reddy DB2 3 Thu Sep 07, 2017 6:59 pm
No new posts Moving values to a variable of copybo... Vignesh Sid COBOL Programming 6 Wed Sep 06, 2017 1:04 pm

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