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

memory allocations for editing PIC clause variables


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

New User


Joined: 15 Jun 2005
Posts: 5

PostPosted: Wed Jun 15, 2005 1:34 pm
Reply with quote

what is difference between the memory allocation methods for ordinary PIC variables and the Editing pic clause variables......how the memory allocation is done for editing PIC variables.....thanks and regards
Back to top
View user's profile Send private message
priya

Moderator


Joined: 24 Jul 2003
Posts: 568
Location: Bangalore

PostPosted: Wed Jun 15, 2005 9:47 pm
Reply with quote

Editing picture clause items occupy one byte per char. (Except CR/DB).

But Ordinary PIC clause items like V, S and P don't occupy any memory except 9, X and A.
Back to top
View user's profile Send private message
md.arif

New User


Joined: 15 Jun 2005
Posts: 5

PostPosted: Thu Jun 16, 2005 9:21 am
Reply with quote

thankz.......so we cant we use them in arithmetic operations......Can I have the exact explanations for this....

Thanks and regards
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Fri Jun 17, 2005 6:50 am
Reply with quote

You can only use them as receiving fields in an arith stmt:

COMPUTE EDIT-FLD = COMP-3-FLD * BINARY-FLD
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 To search DB2 table based on Conditio... DB2 1
No new posts JCL with variables JCL & VSAM 1
No new posts JCL Variables JCL & VSAM 1
No new posts reset/clear ALL application profile v... TSO/ISPF 3
No new posts Access an specific memory address exp... COBOL Programming 1
Search our Forums:

Back to Top