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 Difference between TWALENG and TWASIZE Arunkumar Chandrasekaran CICS 3 Tue Jan 03, 2017 12:57 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts Overlaying one set of charater values... Kevin Lindsley SYNCSORT 7 Sat Nov 05, 2016 3:21 am
No new posts Low values Results from VARCHAR FORMAT balaji81_k DB2 10 Thu Oct 20, 2016 1:18 am
No new posts Sticky: difference between ... DUMMY ... and ... enrico-sorichetti JCL & VSAM 0 Mon Oct 17, 2016 4:31 pm


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