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
 

 

memory allocations for editing PIC clause variables

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: memory allocations for editing PIC clause variables
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    Post subject:
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    Post subject: Re: memory allocations for editing PIC clause variables
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    Post subject:
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    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 DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 8 Wed Jan 25, 2017 8:24 pm
No new posts DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 0 Wed Jan 25, 2017 8:23 pm
No new posts DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 0 Wed Jan 25, 2017 8:21 pm
No new posts Protection Exception while move 0 to ... Kevin Vaz CICS 10 Tue Oct 18, 2016 4:19 pm
No new posts Not enough virtual memory is availabl... Vinay Pushpala IBM Tools 16 Tue Sep 13, 2016 4:37 pm


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