Kristy1129
35 pts. | Sep 15 2009 1:30PM GMT
Shew!!!!!!!!! (Breathing a BIG sigh of relief!!!!)
Thank you SOOOOOOOOOOO Much!! You just saved my job!!
WOW!!! Thank you!! Thank you!!! Thank you!!!
CharlieBrowne
6540 pts. | Sep 15 2009 6:30PM GMT
So, I’m curious.
Was it an authorization problem or was the a problem with the linking of the PF & LF?
Kristy1129
35 pts. | Sep 15 2009 8:21PM GMT
Well, there was informatiopn in the LF from today, so I new information was getting there somehow. duh, right? lol Anyway, we had a problem when a LF of another file got recompiled and I had to restore from backup. I renamed the library on the system and restored from tape. Well, the problem all started when the PF wouldn’t save to the tape because it had errors, so when I restored, it wasn’t there and I didn’t realize it until much later. I used that command (DSPFD of the LF) and saw that the LF was still attached to the file in old library (the one that I renamed. I still don’t know how to figure out which 10 records are corrupt, but at least they haven’t lost an entire month of data! SHEW!!
Do you know how to figure out which records are corrupt?
Thanks again!!!
Kristy1129
35 pts. | Sep 16 2009 2:39PM GMT
The file is extremely large, over 100,000 records. We don’t have SQL either unfortunately. I was going to try and do the copy until it stops to figure out where the corrupt record is. Thank you! I don’t know if corrupt data will show up in a query if I figure out which records they are. I’m pretty sure it would puke if I tried to go to that record in the dfu.
How I was doing the copy to get the corrupt data out of it was to do a CPYF and then put *NOMAX on the errors allowed field. That did get rid of the 10 corrupt records, but I don’t know what data I lost doing it that way.
Voodoovw
1720 pts. | Sep 22 2009 5:45PM GMT
nbsp;<a href="http://www-912.ibm.com" title="http://www-912.ibm. " target="_blank">www-912.ibm.com</a>
Voodoo
TomLiotta
7560 pts. | Oct 9 2009 8:51PM GMT
Essentially every AS/400 (and iSeries and System i) has SQL. What you probably don’t have is the SQL Dev Kit product, which allows you to use the SQL preprocessors of the compilers plus some nice options like green-screen STRSQL interactive SQL and Query Manager interactive interfaces. Also, all AS/400s (etc.) include REXX which handles SQL without the SQL Dev Kit. And AS/400s at recent releases with Qshell should have the db2 utility that can execute SQL statements. Also, iSeries Navigator should allow SQL entry. And RUNSQLSTM and STRQMQRY as well as SQL CLI are there.
IOW, SQL is almost guaranteed to be available to you. Just some handy interfaces would be missing.
Tom






