-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stocker la liste des objets à livrer dans une table.
- Loading branch information
Showing
3 changed files
with
28 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#Mon Dec 31 15:21:10 CET 2018 | ||
com.ibm.etools.iseries.projects.core\:textDescription=Copie de la liste des objets du lot dans une table |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// -------------------------------------------------- | ||
// Procedure name: Copie_liste_objet_a_livres | ||
// Purpose: Liste dans une table les objets à livrer avec les e... | ||
// mplacements où les envoyés | ||
// Returns: | ||
// Parameter: p_Numero_lot => Numéro de lot | ||
// -------------------------------------------------- | ||
DCL-PROC Copie_liste_objet_a_livres ; | ||
DCL-PI *N; | ||
p_Numero_lot LIKE(r_Numlot); | ||
END-PI ; | ||
|
||
Dcl-s l_requete_sql Char(1024); | ||
|
||
|
||
l_requete_sql='Create Table L' + %editc(p_Numero_lot:'X') + | ||
'.list_obj as Select * from list_objet_build Where' + | ||
' LOT_NUMBER = ' + %Char(p_Numero_lot) + | ||
') With data'; | ||
|
||
EXEC SQL | ||
EXECUTE IMMEDIATE :l_requete_sql; | ||
|
||
|
||
return ; | ||
END-PROC ; |