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

Getting Empty output file through Cobol-Oracle Batch job


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sudip_ghanvat

New User


Joined: 05 Apr 2007
Posts: 15
Location: pune

PostPosted: Fri Oct 17, 2008 8:53 pm
Reply with quote

I have a COBOL program which extracts data from an Oracle database through PL Sql cursor query. When this ran in production batch cycle
it was creating an empty file. But in test using prod Loadlib then I'm getting data.

Not to sure what to do please suggest any solution.
Program compiled with Oracle 10G and COBOL 3.

Thanks,
Sudip Ghanvat.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Fri Oct 17, 2008 11:27 pm
Reply with quote

Hello,

I suspect that your problem is a combination of different data in the 2 environments and code that only works part of the time.

You have posted nothing for anyone here to use to help you, so digging thru the code is where you are now.

How have you verified that the same load module is being used in both environments?
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Oct 17, 2008 11:34 pm
Reply with quote

Does same Oracle DB is availble to both the LPARs ? I'm not an Oracle guy, but in DB2 we've different DB2 syubsystem for different LPARs ..


PS.which project you are in ?.. icon_smile.gif
Quote:
SYNTEL LTD.
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top