Forums: Troubleshooting and Problems
Hi,
The source parameter expects a list of inputs that are separated by the platform-specific path separator (";" on Windows, ":" on Linux), so you'd want something like:
-source="projectDirectory\adpe.xpt;projectDirectory\adsl.xpt"
We'll be updating documentation for the upcoming 1.4 release, so hopefully things like this should be a little clearer going forward.
Regards,
Tim
You'd think that being a SAS guy I'd have thought of using a semicolon :-)
Thanks for your prompt reply.
I've written a SAS macro that builds a BAT file to run OpenCDISC validator. It's robust - user can control model, IG version, location of XLS file, etc. - but one thing I can't figure out is how to specify a list of XPT files to validate (currently, the only options are all XPTs or a single one). The SOURCE parameter for a single dataset looks like:
-source="projectDirectory\adpe.xpt" ^
I've tried variations such as:
-source="projectDirectory\adpe.xpt adpe.xpt" ^
-source="projectDirectory\adpe.xpt" "projectDirectory\adsl.xpt" ^
and so on. They either fail when Java starts or create a message in the XLS file saying input file format is invalid (or something similar).
So ... is what I want to do possible? If so, can you give an example of how to code it?
Thanks for your help!