Solved

Question for OVRDBF with SEQONLY parameter

Posted on 2007-04-11
4
1,306 Views
Last Modified: 2013-12-06
Hi,

In one of our CL program in OVRDBF command we have specified SEQONLY to *YES. Now this jobs runs sice months with no problem...What happened today is when it ran it took 45 min against 1 min (which it takes everyday). When I saw the job log with 22,000 pages I have got msg that SEQONLY(*YES) changes to SEQONLY(*NO) because the below as per job log.

* * * * * * * * * * * * * * * * * * * * * * * * * *
Member ABC file ABC in library LIB1 was      
opened with the SEQONLY(*YES) parameter specified in the program or on the  
Override Database File (OVRDBF) command. However, the parameter has been    
changed to SEQONLY(*NO) because of condition 1 shown below: 1 - The program  
opened member ABC for output operations only and SEQONLY(*YES) was      
specified with the default number of records.  SEQONLY(*YES) was changed to  
SEQONLY(*NO) to allow the program to handle duplicate key, conversion        
mapping, key mapping, and select or omit errors, or both select and omit    
errors at the time of the output operation.
* * * * * * * * * * * * * * * * * * * * * * * * * *

Does anybody knows why it has been changed from *YES to *NO ?

Regards
Prashant Patel
0
Comment
Question by:inform_prashant
4 Comments
 
LVL 1

Accepted Solution

by:
arnyt2002 earned 125 total points
ID: 18889714
From the looks of the joblog I would hazard a guess that you have a duplicate key in the file (two or more records with the same key).  The particular member that you are running the OVRDBF must allow for duplicate keys.
I take it the program must read the data and looks for changes in the key information.  Hence, with the SEQONLY(*NO) you will get the large output.
If you need any further help let me know.
0
 
LVL 27

Expert Comment

by:tliotta
ID: 19020275
Prashant:

No recent responses, so I'm curious if this went away. One item you left out was the message identifier, but it seems odd that you got 22,000 _pages_ of the message. Was the job actually attempting to open a file so many times that 22,000 pages of errors appeared? Why couldn't the file be handled through a shared open?

Tom
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Windows 7 does not have the best desktop search built in. This is something Windows 7 users have struggled with. You type something in, and your search results don’t always match what you are looking for, or it doesn’t actually work at all. There ar…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now