Use command line interface to generate define.xml

Hello Brit,

Here are some examples of define generation CLI requests.

Generate define.xml from SAS xpt files:

java -jar p21-client-1.0.2.jar --source.sdtm=“C:\path\to\xpt\sdtm\data” --standard=SDTM --standard.version=3.2 --output=“C:\path\to\put\define.xml” --engine.version=“FDA 1903.1”

Generate define excel spec file from SAS xpt files (the same command, just change the output file extension):

java -jar p21-client-1.0.2.jar --source.sdtm=“C:\path\to\xpt\sdtm\data” --standard=SDTM --standard.version=3.2 --output=“C:\path\to\put\define_spec.xlsx” --engine.version=“FDA 1903.1”

Generate define.xml from define excel spec file:

java -jar p21-client-1.0.2.jar --source=“C:\path\to\define_spec.xlsx” --standard=ADaM --standard.version=1.1 --output=“C:\path\to\put\define.xml” --engine.version=“FDA 1903.1”

Generate define excel spec file from define.xml:

java -jar p21-client-1.0.2.jar --source.define=“C:\path\to\define.xml” --standard=ADaM --standard.version=1.1 --output=“C:\path\to\put\define_spec.xlsx” --engine.version=“FDA 1903.1”

Thanks,

Philipp

Thanks for the help Philipp. Got it working.

Brit

I see examples for validating define.xml using the command line interface. Is there a way to use the CLI to generate the Excel metadata and define.xml? If so, is there somewhere I can see an example? Thanks.