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

How many bytes it will occupy PIC Z(8)9.99-


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

New User


Joined: 05 Feb 2007
Posts: 10
Location: india

PostPosted: Thu Sep 06, 2007 10:44 am
Reply with quote

hi friends

i want to know how many bytes that occupy by the variable

02 MEC-PREV-CUM-PREM1-SO PIC Z(8)9.99-.






Thanks
mallireddy
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Thu Sep 06, 2007 10:56 am
Reply with quote

Mallireddy,

Quote:
Z(8)9.99-.


Did you refer manual? It is mentioned clearly. Go through and let us know.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Thu Sep 06, 2007 1:06 pm
Reply with quote

Real helpful......
Symbols used in the PICTURE clause
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: Thu Sep 06, 2007 8:33 pm
Reply with quote

Hello,

If you look at a compile output, the length for each of the fields is shown there.

If you want to learn how to calculate this, follow the earlier advice and look in the manual (linked to via the "Manuals" link at the top of the web page).
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 Masking variable size field - min 10 ... DFSORT/ICETOOL 4
No new posts total number of bytes PL/I & Assembler 10
No new posts ICE039A H INSUFFICIENT MAIN STORAGE -... DFSORT/ICETOOL 3
No new posts converting bytes and megabytes to kil... SYNCSORT 4
No new posts How to convert 2 bytes into single by... DB2 6
Search our Forums:

Back to Top