Loading...
Searching...
No Matches
getversion.sas
Go to the documentation of this file.
1/**
2 @file getversion.sas
3 @brief get a specific (previous) version of a particular table
4 @details Used to fetch a version of a table as at a previous point in time
5 Delivered as part of this issue: https://git.datacontroller.io/dc/dc/issues/84
6
7 <h4> Service Inputs </h4>
8 <h5> getversion_input </h5>
9
10 |LIBREF:$char8.|DS:$char32.|TS: 8.|
11 |---|---|---|
12 |SOMELIB|SOMEDS|1341344.804|
13
14 <h4> Service Outputs </h4>
15 <h5> work.getversion_output </h5>
16
17 The data for a particular version
18
19 <h4> SAS Macros </h4>
20 @li mf_getuser.sas
21 @li mpeinit.sas
22 @li mpe_getvars.sas
23
24 @version 9.2
25 @author 4GL Apps Ltd
26
27**/
28
29%mpeinit()
30
31%global LIBREF DS;
32
33/* load parameters */
34%mpe_getvars(getversion_input, getversion_input)
35
36%mp_abort(iftrue= (&syscc ne 0 )
37 ,mac=&_program
38 ,msg=%str(Issue on startup)
39)
40
41/* todo */
42
43%webout(OPEN)
44%webout(OBJ,getversion_output)
45%webout(CLOSE)
46
47
48%mpeterm()