Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Show JobChain Details Report - Redwood Scripting

I am attempting to use an example provided by Redwood in the Cookbook_Redwood_Scritping.pdf guide to give a hierarchical overview of all defined JobDefinitions and JobChains w/ parameters. I have copied the script exactly as provided and its not working.

When I save the script I receive the following errors. I then added two parameters called P_PARAMETERS & P_ALLICATION_NAME. I wasn't sure if these need to be set as "IN" or "OUT" params so I tried both. When set to OUT it doesn't require input when attempting to run the script.

1:31:52 PM:

JCS-102183: Compile failed for Job Definition QTEST_REDWOOD_SCRIPT (Latest Version): ShowDetails.java:54:24:cannot find symbol
symbol  : variable P_PARAMETERS
location: class com.redwood.scheduler.custom.ShowDetails
String[] paramArray = P_PARAMETERS.split(",");

JCS-102183: Compile failed for Job Definition QTEST_REDWOOD_SCRIPT (Latest Version): ShowDetails.java:127:26:cannot find symbol
symbol  : variable P_PARAMETERS
location: class com.redwood.scheduler.custom.ShowDetails
String[] paramArray = P_PARAMETERS.split(",");

JCS-102183: Compile failed for Job Definition QTEST_REDWOOD_SCRIPT (Latest Version): ShowDetails.java:170:11:cannot find symbol
symbol  : variable P_APPLICATION_NAME
location: class com.redwood.scheduler.custom.ShowDetails
new String(P_APPLICATION_NAME) }); it.hasNext();)

JCS-102183: Compile failed for Job Definition QTEST_REDWOOD_SCRIPT (Latest Version): :3 errors

With the parameters set to OUT I am now getting the following error -

Caused by: java.lang.NullPointerException: while trying to read the field 'count' of a null object loaded from local variable 'original'

at java.lang.String.<init>(String.java:149)

at com.redwood.scheduler.custom.ShowDetails.execute(ShowDetails.java:168)

at com.redwood.scheduler.custom.ShowDetailsStub.jcsExecute(ShowDetailsStub.java:30)

... 13 more

I have attached the redwood script for review.

Thanks!

Tags:
Former Member
replied

My bad, i should have been more clear.

I have attached the corrected script.

Thanks

Nanda

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question