Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
How will you identify if a program is having double?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL
Author Message
tarakanta
Warnings : 1

New User


Joined: 30 Jan 2007
Posts: 7
Location: Pune

PostPosted: Tue Apr 22, 2008 3:02 pm    Post subject: How will you identify if a program is having double?
Reply with quote

can anybody plz tell me the answer of this question.
How will you identify if a program is having double precision computation or not?
Back to top
View user's profile Send private message
References
the_gautam

Active User


Joined: 05 Jun 2005
Posts: 168
Location: Bangalore

PostPosted: Tue Apr 22, 2008 3:06 pm    Post subject:
Reply with quote

are you talking about a dataitem declared as COMP-2?
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 3070
Location: italy

PostPosted: Tue Apr 22, 2008 3:08 pm    Post subject: Reply to: How will you identify if a program is having doubl
Reply with quote

Quote:
How will you identify if a COBOL program is having double precision computation or not ?


there are 2 ways to search for floating point fields...
1) the application specificatios and the record layout
( if no floating point is cited in the specifications then there shouldn' t be any in the programs )

2) look at the program/copybooks sources to find the comp-1/comp-2 constructs
( use the ISPF search for utility )
Back to top
View user's profile Send private message
tarakanta
Warnings : 1

New User


Joined: 30 Jan 2007
Posts: 7
Location: Pune

PostPosted: Tue Apr 22, 2008 4:33 pm    Post subject: Re: Reply to: How will you identify if a program is having d
Reply with quote

thanx buddy for ur help...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL All times are GMT + 6 Hours
Page 1 of 1