-
Notifications
You must be signed in to change notification settings - Fork 0
/
SUCEL2FAHR.SQLRPGLE
53 lines (35 loc) · 1.75 KB
/
SUCEL2FAHR.SQLRPGLE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
**free
// *%CSTD===========================================================*
// ** Application. : CBP CBP *
// ** Composant. . : ?? Type: SQLRPGLE *
// **===============================================================*
// ** Sous-système : ADH Adhésion *
// ** Fonction . . : *
// ** Sous-fonction: *
// **%S=============================================================*
// ** Description des fonctionnalités: *
// ** Setup du SRVPGM S_ENGLISH *
// ** *
// ** *
// **%E=============================================================*
// ** AUTEUR:N Mazo 22/02/2018 *
// *%ECSTD==========================================================*
ctl-opt nomain;
/copy RPGUNIT/RPGUNIT1,TESTCASE
dcl-s wCommande char(512);
dcl-s wrc int(10);
// définition des prototypes
dcl-pr setUp;
end-pr;
dcl-pr execcmd int(10) extproc('system');
cmdstring pointer value options(*string);
end-pr;
//---------------------------------------------------------------//
// Procédure de mise en place des tests, appelée en entrée
// elle permet d'initialiser l'environnement (bdd) pour avoir
// des jeux de test toujours identiques et propres
dcl-proc setUp export;
dcl-pi *n;
end-pi;
end-proc;
//--------------------------------------------------------------------