g guang


based on paper {How to Automate Validation with Pinnacle 21 Command Line Interface and SAS®}

like below code, bold line is new added based on paper. 

/*4. Define Template Generator*/
java -jar "&jarpath.\&jarfile." ^
--standard=sdtm ^
--standard.version=3.3 ^
--source.sdtm="&sdtmpath." ^
--source.encoding=UTF-8 ^
--meddra.encoding=23.0 ^
--cdisc.ct.sdtm.version=2020-11-06 ^
--output.format=define-excel ^
--output="&reportpath.\sdtm_define_template.xlsx" ^


Failed to generate the define template. 

log like below : 

2021-05-13 15:00:44 [main] ERROR n.pinnacle21.oce.utils.ProcessUtils - CLI.3.5::Failed parsing input argument list::Command line: ^ --standard=sdtm ^ --standard.version=3.3 ^ --source.sdtm=\\sas\Biometrics\products\zl2307\onco\2307002\analysis\primary\data\sdtm\xpt ^ --source.encoding=UTF-8 ^ --meddra.encoding=23.0 ^ --cdisc.ct.sdtm.version=2020-11-06 ^ --output.format=define-excel ^ --output=\\\Profile\ZAISH00668\Documents\Pinnacle 21 Community\defines\sdtm_define_template.xlsx ^
net.pinnacle21.oce.exceptions.CLIException: Command line: ^ --standard=sdtm ^ --standard.version=3.3 ^ --source.sdtm=\\sas\Biometrics\products\zl2307\onco\2307002\analysis\primary\data\sdtm\xpt ^ --source.encoding=UTF-8 ^ --meddra.encoding=23.0 ^ --cdisc.ct.sdtm.version=2020-11-06 ^ --output.format=define-excel ^ --output=\\\Profile\ZAISH00668\Documents\Pinnacle 21 Community\defines\sdtm_define_template.xlsx ^
    at net.pinnacle21.oce.model.input.CommandLine.<init>(CommandLine.java:360) ~[p21-client-1.0.3.jar:1.0.3]
    at net.pinnacle21.oce.utils.ProcessUtils.startFromCommandLine(ProcessUtils.java:146) ~[p21-client-1.0.3.jar:1.0.3]
    at net.pinnacle21.oce.utils.ProcessUtils.startFromCommandLine(ProcessUtils.java:118) ~[p21-client-1.0.3.jar:1.0.3]
    at net.pinnacle21.oce.Main.main(Main.java:16) [p21-client-1.0.3.jar:1.0.3]
Caused by: joptsimple.UnrecognizedOptionException: meddra.encoding is not a recognized option
    at joptsimple.OptionException.unrecognizedOption(OptionException.java:108) ~[p21-client-1.0.3.jar:1.0.3]
    at joptsimple.OptionParser.handleLongOptionToken(OptionParser.java:449) ~[p21-client-1.0.3.jar:1.0.3]
    at joptsimple.OptionParserState$2.handleArgument(OptionParserState.java:56) ~[p21-client-1.0.3.jar:1.0.3]
    at joptsimple.OptionParser.parse(OptionParser.java:381) ~[p21-client-1.0.3.jar:1.0.3]
    at net.pinnacle21.oce.model.input.CommandLine.<init>(CommandLine.java:357) ~[p21-client-1.0.3.jar:1.0.3]
    ... 3 common frames omitted


anybody could help me with this?  log says : Failed parsing input argument list.   but I have no idea what argument is not right there. 



Forums: General Discussion

j Jozef
on May 14, 2021

Shouldn't it be:
--meddra.version=23.0 ^  

on May 14, 2021

Hello Guang,

meddra.version is the correct parameter for CLI validations, but you don't need to specify MedDRA version at all for this task.

You can also remove the SDTM CT version. Dictionary and CT versions aren't used by Community define.xml spec generator.



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.