f Frank
on

 

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!

Forums: Troubleshooting and Problems

t Tim
on November 21, 2012

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

f Frank
on November 21, 2012

You'd think that being a SAS guy I'd have thought of using a semicolon :-)

Thanks for your prompt reply.

Want a demo?

Let’s Talk.

We're eager to share and ready to listen.

Cookie Policy

Pinnacle 21 uses cookies to make our site easier for you to use. By continuing to use this website, you agree to our use of cookies. For more info visit our Privacy Policy.