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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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