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

Query related to Picture Clause of Cobol


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

New User


Joined: 12 Oct 2007
Posts: 1
Location: India

PostPosted: Tue Jan 13, 2009 12:50 pm
Reply with quote

Hi,

Can someone clarify what does below picture clause mean in Cobol?

PIC -(8)9
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Jan 13, 2009 1:55 pm
Reply with quote

How about reading the fine manual?

O.
Back to top
View user's profile Send private message
Amsar

New User


Joined: 26 Sep 2008
Posts: 84
Location: Chennai

PostPosted: Tue Jan 13, 2009 2:08 pm
Reply with quote

It will store max 8 digit numeric value.

if value is negative then '-' sign will get display.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Jan 13, 2009 8:43 pm
Reply with quote

Hello an welcome to the forum,

Quote:
Can someone clarify what does below picture clause mean in Cobol
For questions that are very easily tried on your system, i'd suggest you run a small test.

If the result is confusing, start a topic here and post what you coded and the result and your question about this.

As mentioned, the reference manuals are available via the "IBM Manuals" link.
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