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
 
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 reg query on DYNALLOC feature raghuraman123 SYNCSORT 12 Wed Jan 10, 2018 2:42 pm
No new posts KSDS and Index file in cobol deepak14450 COBOL Programming 9 Fri Dec 22, 2017 9:36 am
No new posts query to fetch record which has only ... maxsubrat DB2 12 Mon Dec 11, 2017 5:03 pm
No new posts How to query MAXGENS of an existing P... Chuchulo Hatyzak JCL & VSAM 4 Wed Nov 22, 2017 10:23 pm
No new posts Native SQL Query kishpra DB2 1 Wed Nov 22, 2017 8:38 pm

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