Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Problem in reading an online file in batch

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
sajith79

New User


Joined: 28 Sep 2005
Posts: 2

PostPosted: Tue Dec 06, 2005 2:07 am    Post subject: Problem in reading an online file in batch
Reply with quote

hi,

i have a file which is opened in online.when i am trying to read a record from that file through a batch program it gives read error even though that particulare record is present. the job abends for the same. and if you restart the job it works fine. this is a production job and keeps abending almost daily. can anyone help me to resolve this. the file is an IAM file.

thanks
sajith
Back to top
View user's profile Send private message

khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 680
Location: NJ

PostPosted: Tue Dec 06, 2005 10:58 am    Post subject: Abend in Batch Process
Reply with quote

hi frnd,
Can u say what's the abend that u r getting ... is it like U4038 or some thing related to that???
Back to top
View user's profile Send private message
mak_tcs

New User


Joined: 23 Nov 2005
Posts: 69
Location: Minneapolis, MN USA

PostPosted: Tue Dec 06, 2005 7:10 pm    Post subject:
Reply with quote

Hi,

My View regarding this abend is..

Program actually trying to access the File which is opened in CICS region. But abends since the file is opened in CICs region. In the abend step, they wud have asked the system to close the file in CICS region if the program terminated abruptly. So when U restart the job, it faces no problem.

What we follow in our project is, We do have steps in the JCL which close all the online file before executing a Program and Open again when the Execution of the program ends.

Hope the above information will be useful.. Please share ur opinion!!

Thanks,
Mani
Back to top
View user's profile Send private message
sajith79

New User


Joined: 28 Sep 2005
Posts: 2

PostPosted: Tue Dec 06, 2005 8:31 pm    Post subject: Re: Problem in reading an online file in batch
Reply with quote

thanks for the update. but this is not at all related to opening and closing of files. even if it is opened in CICS region we can read that file in batch. this is abending just because it failes to find out the particular record in that file and not because of file opened in CICS. the file is actually an IAM file and not VSAM
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts LMINIT problem - not finding DDNAME Danielle.Filteau CLIST & REXX 7 Tue Sep 19, 2017 9:57 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts Generate public-private key in batch ... vasanthz All Other Mainframe Topics 3 Fri Sep 15, 2017 9:20 am
No new posts Working with hex values in Filemanage... Emile Straker IBM Tools 0 Tue Sep 12, 2017 1:42 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us