×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Assuming crossreference files are not damaged (per your mention of RCLSTG),
try these steps out and see if it works:

DLTF TRSFDD/IMPACT
/* ignore any errors you get from dltf, if any */
RUNSQLSTM SRCFILE(TRSFDD/SQLSRC) SRCMBR(UPDATEIMP) COMMIT(*NONE)

HTH, Elvis

Celebrating 11-Years of SQL Performance Excellence on IBM i, i5/OS and
OS/400
www.centerfieldtechnology.com


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Frances Denoncourt
Sent: Thursday, May 08, 2008 6:29 PM
To: midrange-l@xxxxxxxxxxxx
Subject: RUNSQLSTM drop/create alias error

I had a sql stmt that ran just fine until this afternoon. It worked all
morning just fine.
I think it started aborting when I deleted the file, made mods, recreated
it.

Found something about RCLSTG - not something I'll be doing or asking OPS.
I tried using a different alias. Didn't work.

How do you even view a list of aliases for a file?
We don't have a SQL - cannot STRSQL, but can RUNSQLSTM using a source file.

Spent a couple of hours trying to track this down. Your help would be
greatly appreciated.
Thanks,
Fran


RUNSQLSTM SRCFILE(TRSFDD/SQLSRC) SRCMBR(UPDATEIMP) COMMIT(*NONE)
Alternative name for file IMPACT not allowed.
File IMPACT not created in library TRSFDD.
IMPACT in TRSFDD type *FILE already exists.
RUNSQLSTM command failed.
RUNSQLSTM command failed.

After the 'already exists' I tried this:
*************** Beginning of data ***************************
--drop alias trsfdd/impact;
Create alias trsfdd/Impact FOR TRLIBDTA/TRIMPCP ;
UPDATE trsfdd/Impact
set PCPROC = ' ';


Fran Denoncourt



This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.