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
 

 

Query related to Picture Clause of Cobol

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Query related to Picture Clause of Cobol
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: 2360
Location: Israel

PostPosted: Tue Jan 13, 2009 1:55 pm    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Tue Jan 13, 2009 8:43 pm    Post subject:
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    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 JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts Omegamon for DB2 query ashek15 DB2 0 Wed Feb 15, 2017 11:25 am
No new posts Query on DB2 WLM stored procedures ashek15 DB2 8 Sun Feb 12, 2017 11:13 pm


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