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
 
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 Query to compare 2 values of 1 column... Poha Eater DB2 13 Fri Mar 09, 2018 10:45 am
No new posts Using indexed variables in EZPLUS SRIDEVI TANTRY CA Products 1 Thu Feb 01, 2018 12:15 pm
No new posts COMP Variables Mismatch gayu7 COBOL Programming 5 Wed Dec 20, 2017 5:06 pm
No new posts Date in where clause - Windows Karthikeyan Subbarayan DB2 9 Wed Nov 15, 2017 9:07 pm
This topic is locked: you cannot edit posts or make replies. Need help how to pass the ESP variabl... Venkichaitu JCL & VSAM 12 Thu Nov 02, 2017 3:53 am

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