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

What is the use of comma in Cobol


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

New User


Joined: 12 May 2009
Posts: 2
Location: India

PostPosted: Fri May 15, 2009 11:54 am
Reply with quote

What is the use of comma in Cobol.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri May 15, 2009 3:52 pm
Reply with quote

This is a perfect question to answer yourself in the manuals (link at the top of the page).
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Fri May 15, 2009 4:54 pm
Reply with quote

commas used for seperation of series of items:
like
parameters in CALL statement,
parameters in USING statement,
list of VALUES on an 88-level,
targets of a MOVE etc...

Even most of the time for edited numeric picture clause also comma is used..


Is it this you are looking for?
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri May 15, 2009 4:56 pm
Reply with quote

Some times I use it for punctuation. . . grin . . .
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Fri May 15, 2009 7:47 pm
Reply with quote

Anuj,

OMG, don't get me started on THAT.... icon_eek.gif

In this case, it's the DECIMAL POSITION that applies, nevermind the COMMA icon_wink.gif

Regards,
Back to top
View user's profile Send private message
manish.jaipatna

New User


Joined: 12 May 2009
Posts: 2
Location: India

PostPosted: Mon May 18, 2009 5:05 pm
Reply with quote

Sambhaji,

Thanks a lot for the info. I was looking for those information.
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 Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top