BookmarkSubscribeRSS Feed
RameshReddy
Calcite | Level 5

Dear Team,

i want run this java code in sas eg the main purpose is want to upload pdf file in other web applocation from sas server

1 st path

java -jar /regrep/regrep/RBI_RETURNS/Jar_file/LiferayDocumentPush.jar

is for to execute jar file

2nd path to give cofiguration properties of the web application where i need to upload the pdf

/regrep/regrep/RBI_RETURNS/Jar_file/configuration.properties

3 rd path for to create foldet in the location for to upload pdf file

PIVG/ramesh/test CPR033_ftd.pdf

4th path

'Daily report'

discription for the file

5 th path

this path is  where file is located  in sas server

/regrep/regrep/RBI_RETURNS/Jar_file/CPR033.pdf

x "java -jar /regrep/regrep/RBI_RETURNS/Jar_file/LiferayDocumentPush.jar /regrep/regrep/RBI_RETURNS/Jar_file/configuration.properties /PIVG/ramesh/test CPR033_ftd.pdf a 'Daily report'  /regrep/regrep/RBI_RETURNS/Jar_file/CPR033.pdf";

this code  iam trying execute in sas but its not showing any error and not  giving any result kindly any one help me out on this

1 REPLY 1
Doc_Duke
Rhodochrosite | Level 12

You posted this to the Enterprise Guide forum.  The "x" command is turned off by default in EGuide. 

Go to http://blogs.sas.com/content/sasdummy/ and search for x command to see several articles about this.

(I'm not a Java programmer, so I can't help there.)

Doc Muhlbaier

Duke

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 1153 views
  • 0 likes
  • 2 in conversation