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
 

 

Getting Empty output file through Cobol-Oracle Batch job

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: Getting Empty output file through Cobol-Oracle Batch job
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

Site Director


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

PostPosted: Fri Oct 17, 2008 11:27 pm    Post subject:
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

Senior Member


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

PostPosted: Fri Oct 17, 2008 11:34 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Incorrect output when trying to add n... monica1 PL/I & Assembler 10 Fri Jan 13, 2017 5:02 pm
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm


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