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 0326(record not found error)

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IDMS/ADSO
View previous topic :: :: View next topic  
Author Message
kcs4u2004
Warnings : 1

New User


Joined: 21 Apr 2008
Posts: 56
Location: Chennai

PostPosted: Fri Jul 10, 2009 9:33 pm    Post subject: Getting 0326(record not found error)
Reply with quote

Hi all,

I am running one batch job which has a input file and two o/p file,I am getting 0326(record not found error),i got the first record not found,so i dleted the first record and ran..then got the 2nd record not found...it continued until the last record of the input file...with an empty input file I am able to run the job but output file is an empty one also..
could anyone please tell me why this happens..why none of the record of input file is not found in database.taken a clone of production just before and ran also..
Back to top
View user's profile Send private message

Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Fri Jul 10, 2009 9:55 pm    Post subject:
Reply with quote

1. What is the source of the input file?

2. Are you sure the definition of the file you are using actually matches the file you are using.

3. Are you sure the database is defined and loaded properly.

4. What do the specifications for the batch program say about an unmatched condition?

5. We know nothing about your batch program or database so what makes you think we would even be able to guess at the cause of the problem?
Back to top
View user's profile Send private message
sudharsan.soundararajan
Warnings : 1

New User


Joined: 15 Oct 2008
Posts: 17
Location: Chennai

PostPosted: Mon Jul 20, 2009 3:10 pm    Post subject:
Reply with quote

Hi Krish,

There might be one reason

there is a mismatch between your input file and database record.
i mean your input file may have low values, but your database migh stored with spaces

for example :
if say Name is the calc key . it is of 10 chars and say the field is "hari".

you might see HARI in both the input file and database but the difference comes in the next 6 chars after HARI. check the HEX DEC value in the input file and make sure the rest 6 chars are same in both input file and database

Both must be spaces ( Hex value 40) or low valus ( Hex value 00).

This may be an reason but i am not sure.

Give a try and update us
Back to top
View user's profile Send private message
kcs4u2004
Warnings : 1

New User


Joined: 21 Apr 2008
Posts: 56
Location: Chennai

PostPosted: Thu Jul 23, 2009 7:18 pm    Post subject: Reply to: Getting 0326(record not found error)
Reply with quote

Hi,
Thanks for the response.
I found out the reason.actually the case is the data(key values) which is in input file,after being processed for overnight processing getting erased in due course in the program.I checked the employees in the db in OLQ,but did not find in db.so because of that the error is 0326.

now my question is the data comes FROM THE PRODUCTION CATALOGUE(online screen),its being processed and creates the output file in the overnight run..but the employee numbers which its getting from online screen are getting erased after the job runs..now those employees does not exist in the database..so how to test that program...if I will create the inpu file with the employee which is present in the database,but their other criterias are not matching..so its showing its not found(0326)
all the previous program is running succesfully
Back to top
View user's profile Send private message
kcs4u2004
Warnings : 1

New User


Joined: 21 Apr 2008
Posts: 56
Location: Chennai

PostPosted: Fri Jul 24, 2009 4:36 pm    Post subject: Reply to: Getting 0326(record not found error)
Reply with quote

yes,with empty input file it is also running.but creating empty output reports.

so how the testing can be done..? icon_question.gif icon_exclaim.gif
Back to top
View user's profile Send private message
nelson.pandian

Active User


Joined: 09 Apr 2008
Posts: 133
Location: Phoenix, AZ

PostPosted: Tue Jul 28, 2009 11:15 am    Post subject:
Reply with quote

Hi krish,

Quote:
if I will create the inpu file with the employee which is present in the database,but their other criterias are not matching


What criteria is not matching????

Take an extract of the current database, delete the unwanted records from the file, use that as the input to the program. So i hope all your criteria will be matched.
Back to top
View user's profile Send private message
kcs4u2004
Warnings : 1

New User


Joined: 21 Apr 2008
Posts: 56
Location: Chennai

PostPosted: Wed Jul 29, 2009 9:52 pm    Post subject: Reply to: Getting 0326(record not found error)
Reply with quote

Thanks Nelson,You had a valuale suggestion,but the thing is I ran the job successfully,my input file is output of some other program,so ran that,even though it gave me exactly same file,still it ran successfully with my desired...for everytime I want to run,I have run it freshly..so it will run successfully..

Thanks again
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 -> IDMS/ADSO All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Record Not found in AlX but record re... mukun264 COBOL Programming 5 Fri Mar 24, 2017 9:28 am
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm


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