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

Difference in ZERO/ZEROS/ZEROES


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
corsa

New User


Joined: 27 Sep 2005
Posts: 1

PostPosted: Tue Sep 27, 2005 4:31 pm
Reply with quote

Can anyone please help me in knowing the purpose of ZERO/ZEROS/ZEROES. And anydifference is there among them ???
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 463

PostPosted: Tue Sep 27, 2005 5:05 pm
Reply with quote

Hi,

ZERO is generally use ti move single zero vales i.e the field length is 1

ZEROS/ZEROES both are same and use to move more than one zero in field

Correct me if I am wrong

Regards

Rupesh
Back to top
View user's profile Send private message
mulinti

New User


Joined: 15 Jul 2005
Posts: 1
Location: bangalore

PostPosted: Sun Oct 02, 2005 10:08 pm
Reply with quote

icon_neutral.gif
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Thu Oct 06, 2005 12:49 am
Reply with quote

The only difference is spelling. Otherwise, they are identical.

Each will move/add/etc. as many xeros as needed.

ZERO can be used (but is not required) to make the COBOL stmt sound (read) grammatically correct if the field is only 1 position long.
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 Remove leading zeroes SYNCSORT 4
No new posts Timestamp difference and its average ... DB2 11
No new posts Difference when accessing dataset in ... JCL & VSAM 7
No new posts How to display the leading zeros of a... DB2 7
No new posts What is the difference between Taskty... Compuware & Other Tools 2
Search our Forums:

Back to Top