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
 

 

Reg the COBOL program Compiler options

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
gadiyarampavan

New User


Joined: 22 Feb 2005
Posts: 18
Location: Hyderabad

PostPosted: Thu Jan 15, 2009 3:54 pm    Post subject: Reg the COBOL program Compiler options
Reply with quote

Hello Folks,

As one of COBOL application program is executed successfully in the production environment and the same program is giving different results in Development environment.

We are using the concept of Dynamic call and we are processing the file input data by the execution of that program.

Please suggest me the reason behind this problem.

Thanks,
Pavan Kumar
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8118
Location: East Dubuque, Illinois, USA

PostPosted: Thu Jan 15, 2009 5:54 pm    Post subject:
Reply with quote

Quote:
As one of COBOL application program is executed successfully in the production environment and the same program is giving different results in Development environment.
Are you absolutely sure the exact same file is being processed by production and development programs? Is there a database involved that could have different versions? What are the compile options for production and for development? How do you know the program hasn't been changed between development and production?
Back to top
View user's profile Send private message
gadiyarampavan

New User


Joined: 22 Feb 2005
Posts: 18
Location: Hyderabad

PostPosted: Thu Jan 15, 2009 6:18 pm    Post subject: Reply to: Reg the COBOL program Compiler options
Reply with quote

We are using the same file in production and Development also and this program is not dealt with any database. Here, the compiler options are also be same for the production and Development.


We are calling a sub program by using the Dynamic call.

Please let me know, any other causes for this problem as it is giving different results.

Thanks,
Pavan Kumar
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8118
Location: East Dubuque, Illinois, USA

PostPosted: Thu Jan 15, 2009 6:55 pm    Post subject:
Reply with quote

Is the subprogram coming from a different library? Since you claim -- without any proof I note -- that you're getting different results in production and development, there is a difference in the environments. My experience has been that in such cases, the difference is usually some input file is different, or there's a difference in compiler options.

If you're absolutely sure that the compiler options are the same (I wouldn't be unless I visually verified them myself in both environments -- since a system upgrade could have been done between the development compile and production compile that caused a difference), and the same input files are being used, then the difference must be code related. Either the program itself is not the same, or one (or more) of the subprograms are not the same -- from different libraries.
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Thu Jan 15, 2009 9:54 pm    Post subject:
Reply with quote

Are the same Language Environment run time libraries involved in Dev as in Prod? Also, what exactly is your definition of "different results"?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Jan 15, 2009 10:08 pm    Post subject:
Reply with quote

Hello,

Quote:
the same program is giving different results in Development environment.
Is there some reason that you have not shown what the different results are?

How have you verified that the exact same module is being executed in development and production? The exact same called module?

Simply said, the process runs differently because of different executables or different data. It may help if you post the execute jcl from this step.
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Fri Jan 16, 2009 12:28 am    Post subject:
Reply with quote

Pavan,
It's not considered good manners to post the same question on multiple bulletin boards within 13 minutes of each other.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm


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