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

Regarding PROCESS ARITH(EXTEND)


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

New User


Joined: 26 May 2006
Posts: 18

PostPosted: Thu Dec 21, 2006 10:29 am
Reply with quote

Hi All,

we are having serious problem, can somebody please tell us if by using PROCESS ARITH(EXTEND) will we have any logical problems in the existing program.

We are using PROCESS ARITH(EXTEND) option in our modules to access the extended length of COMP-3 variable, i.e. more than 18.

By using the same option in the program where the comp-3 length is 18 only will it create any problem in the logic

Thanks & Regards
G Neelaveni
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Thu Dec 21, 2006 4:23 pm
Reply with quote

I can't answer directly, but why don't you code a short program and compile it with and without the PROCESS statement and look at the generated assembler code for moves and adds and computes?
Back to top
View user's profile Send private message
gneelu

New User


Joined: 26 May 2006
Posts: 18

PostPosted: Thu Dec 21, 2006 4:29 pm
Reply with quote

Hi William,

Thanks for your reply. I have one more small query while using this option will it have different storage allocations

Thanks & Regards
G Neelaveni
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Thu Dec 21, 2006 5:07 pm
Reply with quote

That too, you will be able to see in the compile listing.
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 process statement for SUPREC, CMPCOLM... TSO/ISPF 4
No new posts How to process dependent file based o... JCL & VSAM 8
No new posts Bind process DB2 4
This topic is locked: you cannot edit posts or make replies. How to process gdg in rexx program wh... CLIST & REXX 12
No new posts Process Last Key of a record based on... DFSORT/ICETOOL 5
Search our Forums:

Back to Top