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

How will you identify if a program is having double?


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

New User


Joined: 30 Jan 2007
Posts: 10
Location: Hyderabad

PostPosted: Tue Apr 22, 2008 3:02 pm
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
the_gautam

Active User


Joined: 05 Jun 2005
Posts: 165
Location: Bangalore

PostPosted: Tue Apr 22, 2008 3:06 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Apr 22, 2008 3:08 pm
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: 10
Location: Hyderabad

PostPosted: Tue Apr 22, 2008 4:33 pm
Reply with quote

thanx buddy for ur help...
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 Using API Gateway from CICS program CICS 0
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts How to identify the transaction categ... IMS DB/DC 3
Search our Forums:

Back to Top