i have test this example in windows ( note: the jobExample.sas is a DIS Job and the output is sasunit_table)
/*-- Creation of base datasets -----------------------------------------*/%initTestcase(i_object=jobExample.sas,i_desc=CheckifTableiscreate)%jobExample%endTestCall()%assertTableExists(i_libref=ditstsrc,i_memname=sasunit_table,i_desc=Tablewassuccessfulycreated?)%assertRecordCount(i_libref=ditstsrc,i_memname=sasunit_table,i_recordsExp=490,i_desc=DoestablecontainallexpectedRows?)%assertLog(i_errors=0,i_warnings=0)%endTestCase()/** \endcond */
When i run this table, sasunit run jobExample.sas (create de sasunitable) and execute the tests,
but.....
I'm testing the same example in linux, but i have one error "no macro" recover and the sasunitable is not create so the test not execute.
Note: if a run jobExample.sas manual and after execute the test works..
But I do not understand why in Windows it runs the jobExample and creates the table and in linux it does not
Last edit: Gu Gonçalves 2017-09-15
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i have test this example in windows ( note: the jobExample.sas is a DIS Job and the output is sasunit_table)
When i run this table, sasunit run jobExample.sas (create de sasunitable) and execute the tests,
but.....
I'm testing the same example in linux, but i have one error "no macro" recover and the sasunitable is not create so the test not execute.
Note: if a run jobExample.sas manual and after execute the test works..
But I do not understand why in Windows it runs the jobExample and creates the table and in linux it does not
Last edit: Gu Gonçalves 2017-09-15
Hi Gustavo,
with that limited information it is hard to give an answer. So my first guess would be that your macro jobexample cannot be found under linux.
Could you succesfully start the SASUnit examples under linux? Just to exclude some sources of errors.
Which version of SASUnit do you use under Windows and Linux? Sometimes there was a problem with built-in macros in version 1.6.
Could you please tell me more about the error message.
Regards
Klaus Landwich
Hi Klaus, thanks for your answer.
So,
the job can be found;
Yes, the examples work in linux and windows
The SASUnit version is the same 1.7 and the SAS Base 9.4
When in windows, the SASUnit run jobExample.sas , in linux they give a error that not
Does not recognize a macro
Regards
Last edit: Gu Gonçalves 2017-09-20