Skip to Content
0
Former Member
Feb 09, 2007 at 10:14 AM

JAVA command to long for qsh (iSeries)

185 Views

Hi all,

I've to run a java instruction regarding the configuration of SDMAgents in iSeries, SAP OSS note 987092.

the point 9 tell me to run this command in QSH

9. To execute the SMD setup, log on with user SMDADM (default password is

sapofr), start QSH or QP2TERM and do the following:

cd /usr/sap/SMD/J<XX>/SMDAgent

java -classpath

/usr/sap/SMD/J<XX>/SMDAgent/lib/sapxmltoolkit.jar:/usr/sap/SMD/J<XX

>/SMDAgent/lib/smdagent.jar:/usr/sap/SMD/J

<XX>/SMDAgent/lib/tc_sec_secstorefs.jar:/usr/sap/SMD/J<

XX>/SMDAgent/lib/iaik_jce_export.jar:/usr/sap/SMD/J

<XX>/SMDAgent/lib/launcher/logging.jar:/usr/sap/SMD/J<

XX>/SMDAgent/lib/smdserver.jar:/usr/sap/SMD/J

<XX>/SMDAgent/lib/exception.jar:/usr/sap/SMD/J<

XX>/SMDAgent/lib/sapj2eeclient.jar:/usr/sap/SMD/J

<XX>/SMDAgent/lib/launcher/smdagentlauncher.jar

com.sap.smd.setup.Setup /QIBM/ProdData/Java400/jdk14

<monitoring_box_hostname> <monitoring_box_P4Port>

<monitoring_box_AdministratorUserName> <monitoring_box_password>

but this command is to long, and does not fit into qsh buffer, someone know how can I run this command in QSH ?

How can I create a Batch to run from QSH or where can I define the classpath previously !?!?

Thanks

Regards,

Pedro Rodrigues