Last active
December 26, 2015 07:29
-
-
Save sharkoz/7116067 to your computer and use it in GitHub Desktop.
Execution de commandes SQL par chaîne HR Access BQL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Créer un fichier /produit/hra/file/PSBBCLLI.CXX (XX IDJOB, tu renseignes ce que tu veux) | |
2) Dans le fichier écrire pour chaque commande SQL : | |
<PGMBCL> | |
DELETE FROM ZY00 WHERE NUDOSS = +000001299 | |
<PGMBCL> | |
Si besoin, faire un retour auto a la ligne avec "fold" : | |
fold foo > PSBBCLLI.CXX | |
3) Lancer la chaîne : | |
execbql | |
en indiquant l’IDJOB XX du fichier PSBBCLLI | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment