Skip to content

Instantly share code, notes, and snippets.

@sharkoz
Last active December 26, 2015 07:29
Show Gist options
  • Save sharkoz/7116067 to your computer and use it in GitHub Desktop.
Save sharkoz/7116067 to your computer and use it in GitHub Desktop.
Execution de commandes SQL par chaîne HR Access BQL
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