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
This topic is locked: you cannot edit posts or make replies. Difference between EQUAL and EQUAL TO... jithinraghavan COBOL Programming 3 Thu Apr 19, 2018 2:22 am
No new posts LOW VALUES as a KEY juares castro DB2 10 Sat Apr 07, 2018 1:06 am
No new posts Sort numeric fields with trailing spaces sancraig16 SYNCSORT 7 Tue Apr 03, 2018 1:21 am
No new posts Query to compare 2 values of 1 column... Poha Eater DB2 13 Fri Mar 09, 2018 10:45 am
No new posts attchmvs from rexx subroutine that re... harisukumaran CLIST & REXX 1 Fri Jan 19, 2018 5:29 am

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