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 in ZERO/ZEROS/ZEROES

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Difference in ZERO/ZEROS/ZEROES
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: 464

PostPosted: Tue Sep 27, 2005 5:05 pm    Post subject: Re: Difference in ZERO/ZEROS/ZEROES
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    Post subject:
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    Post subject:
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    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 editting the file by inserting zeros ... pramodrsingh DFSORT/ICETOOL 9 Mon Aug 21, 2017 5:58 pm
No new posts Format record to remove Leading zeroes Learncoholic DFSORT/ICETOOL 14 Wed Apr 05, 2017 2:43 pm
No new posts Difference between TWALENG and TWASIZE Arunkumar Chandrasekaran CICS 3 Tue Jan 03, 2017 12:57 pm
No new posts Sticky: difference between ... DUMMY ... and ... enrico-sorichetti JCL & VSAM 0 Mon Oct 17, 2016 4:31 pm
No new posts Join key - Populate Zeros when Unpair... rexx77 DFSORT/ICETOOL 6 Thu May 12, 2016 12:22 am

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