Bin mittlerweile weitergekommen. Das Programm spring mit einem Status "51002" aus dem Programm wenn ich den Cursor öffnen will. Dh. "SQL package &1; in &2; not found."
Ich habe herausgefunden das bei ILE RPG Programmen beim Compilieren wichtige Variablen gesetzt werden.
Die Frage ist nur wie ich SQLPKG bei VARPG setze, denn darin liegt anscheinend mein Fehler.PHP-Code:*
*
* To compile:
*
* CRTSQLRPGI PGM(XXX/SQL001RG) SRCFILE(XXX/QRPGLESRC)
*
*
* COMPILING. In order to compile this program you will need
* to use options which allow it to work correctly
* between machines. These options are---
*
* COMMIT = *NONE
* RDB = Machine name that you will connect to.
* DLYPRP = *YES
* SQLPKG = The name & library that you want to
* use for the package. This will put the
* package on the RDB machine that you
* specify.
*
Gruß Martin
![[NEWSboard IBMi Forum]](images/duke/nblogo.gif)



Mit Zitat antworten
Bookmarks