What does the log file say? You should be able to find in the folder C:\Users\nayyalas\Documents\Pinnacle 21 Community\logs
I already see one possible cause for the problem: your statement: %let reportpath=C:\Users\nayyalas\Documents\Pinnacle 21 Community\reports;
contains blanks, so I presume you should put it in double quotes, i.e.:
%let reportpath=“C:\Users\nayyalas\Documents\Pinnacle 21 Community\reports”;
Otherwise the software is looking for a folder “Pinnacle” under “Documents”
W.r.t report the only reason why i did not include double quotes was when i call the macro variable i have included them, unless i am missing something.
I can’t give you additional advice. I am not a Pinnacle21 employee.
I answered as I saw an obvious error in your script.
This is something the Pinnacle21 people should further take care off.
For you, hopefully quickly - I usually answer questions from my XML4Pharma customers within hours.
Command line statement should be one line of code. Your example code represents 9 different commands rather a single one. All parameters started with a new line are considered as additional separate commands. It may be due to confusing example in P21 documentation. It was done for better readability assuming that all users are aware about CLI syntax.
In SAS, you need to use X command to call Windows CLI
Also, ensure that all CT and dictionaries you refer to are already set-up and a folder for reports exists.
Here is corrected SAS code which should work. You can add MedDRA, UNII and NDF-RT parameters later.
Save it. Rename file extension to ‘.bat’ to make it executable. For example, ‘test.bat’
Open Windows Command Prompt by clicking on Window picture in a left bottom corner of your desktop screen and typing ‘cmd’. Black Command Prompt window will be opened
Changed working directory to a folder of you BAT file. For example, ‘cd C:\Users\nayyalas\Documents\TEST’
Run your script file. You can also redirect log info into some file for diagnostics. For example, ‘test’, ‘test.bat’ or ‘test.bat > test.log’
The MedDRA files are installed correctly, because the validation (including MedDRA) using pinnacle 21 without CLI are good working.
However, using CLI, the validation including MedDRA dose not working..
I wrote the CLI as like --meddra.version=22.0 according to the guidelines. The other terminologies (unii, ntf-rt) are good working, however, the only MedDRA does not work in command line.
I want to know how to validate SDTM using meddra in command line.
I tried making the change however it still does not generate the report. Please see below for my code and let me know if i am missing anything. Thanks a lot.
I tried making the change however it still does not generate the report. Please see below for my code and let me know if i am missing anything. Thanks a lot.
This code works and I’m getting the report, but my big problem here is that I can’t define a path for the source data and the report. The only way that it was working is when everything was located in the same location as the jar.
16:56:29,038 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
16:56:29,038 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
16:56:29,038 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [jar:file:/C:/Users/monick/Documents/Pinnacle%2021%20Community/p21-client-1.0.0.jar!/logback.xml]
Really appreciate your help ( in one of the ways ).
It seems that in the first case you have tried to use a legacy CLI jar file. validator-cli-2.1.5.jar comes from a legacy Community 2.x version that is outdated and not supported.
Please use the latest CLI jar file that comes with Community 3.1.1. The correct file name is p21-client-1.0.4.jar
You can locate it in your Community installation directory under \resources\app.asar.unpacked\components\lib then copy next to your Community configs directory and run validations.
Regarding the command that you posted in 2 - there are several things to fix:
Please use one of the engine versions that are currently supported. For FDA agency these are 1907.2 and 2010.1.
FDA 1903.1 is outdated and not supported (for example, you cannot choose it in Community GUI anymore).
CLI source parameters don’t support wildcard characters. You will need to remove the “*.XPT” part.
Unrelated non-CSV or non-XPT files in the folder and its subfolders will be ignored by CLI.
Errors that you listed don’t affect the validation. Usually, critical errors failing the validation process are at the end of the CLI console output and log.
The first way is working now when I’m including the path.
The report seems fine but it’s still giving me lots of comments while running the command, such as:
log4j:WARN No appenders could be found for logger (com.amazonaws.AmazonWebServiceClient).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See Apache log4j 1.2 - Frequently Asked Technical Questions for more info.
How can I be sure that they are not affecting the validation?