@bender,

nur wie ??
per STRSQL funzt das aber im SQLRPGLE
funzt das nicht

Insert into lokale.lib.file +
Select * from remotedb.lib.file where ....
nur warum ?

fehlermeldung :
Message ID . . . . . . : SQL0727 Severity . . . . . . . : 30
Message type . . . . . : Diagnostic
Date sent . . . . . . : 08.07.15 Time sent . . . . . . : 16:12:41

Message . . . . : Evaluation of global variable *N in *N failed.
Cause . . . . . : An error occurred during evaluation of the DEFAULT clause
of global variable *N in *N. The SQLCODE associated with the failure is
204. The SQLSTATE is 42704. The message tokens are




das pendeln das du meinst ist doch sätze einzeln verarbeiten.
fetch
connection wechseln , update fahren , connection wechseln nächster fetch....